rtc: alarm: fix a bug that prevented the device to reboot into the bootloader/recovery from an adb command

Duplicated spinlock_unlock earlier is completely wrong as we have
to unlock it after setting the alarm IRQ after the goto, not before.