[PATCH 4.14 147/193] rtc: xgene: fix possible race condition