Fix for high CPU usage on Windows

I have a patch for high CPU usage caused by the joystick detect
thread. This issue consumes a non-trivial amount of power and heck, Steam
is popular enough to the point where I think this might even have a
measurable impact on carbon emissions. Patch can be found at

- Sherief