[PATCH 4.9 27/30] rtc: Fix overflow when converting time64_t to rtc_time