Bug fix to WinMM API in MidiIn destructor.