libwinpr-synch: fix broken USleep (on WIN32)

Also reduce CPU usage by reducing the max busy-looping time to 1ms
This should fix issue #1316