[PATCH 4.14 37/41] rtc: Fix overflow when converting time64_t to rtc_time