sparseirq: move set/get_timer_rand_state back to .c