drivers: rtc: resolve year 2038 problem in rtc_to_tm