poll: use GetTickCount64() to avoid wrap-around issues