wim.c: adjust wimlib_compression_type casting