[Issue 8890] adapt to 64-bit time_t on systems with 32-bit long