win32: add accurate GetDelay() function for WASAPI