Windows: make runloop block when given timeout -1.

Since we use select on windows instead of poll, we have to send in a
NULL pointer to a timeval struct instead of -1 seconds. This is what
select expects as input to block indefinitely.