[PATCH 5.1 255/405] rtc: xgene: fix possible race condition