timerqueue: Make timerqueue_getnext() static inline

No point in calling a function just to dereference a pointer.