[PATCH 1/6] rtc: interface: Fix long-standing race when setting alarm