[PATCH openEuler-5.10 v2 513/548] rtc: pxa: fix null pointer dereference