Support compilation with MinGW toolchain

Trying to compile LASzip on Windows using MinGW fails, but changing a few preprocessor directives fixes that (at least for me it does). Tested with a recent MinGW32 and MinGW64 on a x86-64 host.