util: fix compiler warning with 32-bit time_t