alarm flags only need to be cleared if PORF flag is set; otherwise, the RTC is already running and alarm flags must not be cleared Signed-off-by: Vixay Phimmasane <visuphi@gmail.com>