unix: Fix a critical regression in the timer code

This was pretty obviously wrong. This issue is an extremely serious bug that never should have made it through code review.