Convert winmm to use CreateThread and add missing WAVE_FORMAT_48s16 macro for MinGW
We have no choice but to lie about windows 7 on mingw.

Mingw has no understanding of the VerSetConditionMask function. Since the test must always pas, we say that we're Win7.