winmm: More compatible waveIn/Out[Un]Prepare WHDR_* flag handling.