Fix wraparound for timeGetTime()