[PATCH 4.4 13/16] rtc: pm8xxx: Fix issue in RTC write path