timers: force timeout to signed int in enroll()

Closes #8618