[PATCH 4.17 258/324] rtc: fix alarm read and set offset