[PATCH openEuler-5.10 197/237] rtc: fix snprintf() checking in is_rtc_hctosys()