Fixes an access violation during the initialization of the PortAudio integration. Reported by Tudor Berechet.