Fixes freezes in Pa_ReadStream, Pa_StopStream and Pa_WriteStream and incorrect causes of paInvalidChannelCount errors in PortAudio on Windows/WMME. Mitigates an issue with hightened CPU usage (on all supported operating systems) related to hotplug.