[PATCH 4.19 199/276] rtc: xgene: fix possible race condition