rtc: Fix rtc_alarm_cancel

Previously the head wasn't considered.