[PATCH 6.12 423/466] rtc: cmos: avoid taking rtc_lock for extended period of time