Move genrtc.c's functions into <asm/rtc.h>