hrtimer: move timer stats helper functions to hrtimer.c