rtc: rtc-sh: fix for period rtc interrupts.