[PATCH 4.9 163/310] rtc: interface: Validate alarm-time before handling rollover