Fix the 100% CPU on one core bug introduced when switching to Portmidi...

The timer-based method should hopefully be trivial to implement on other
platforms as well, moreso than using poll()