timers: force timeout to signed int in enroll()

Closes #8618
Same comment as above.