Dequeue timer before calling callback.

This fixes an infinite loop, if the timer user doesn't re-queue the timer.

Also increase the timer ID type to 64 bit for a longer wrap cycle.

Signed-off-by: Michael Buesch <m@bues.ch>