rtc: Add alarm support