tests: Fix t-gettime for a time_t of 64 and a long of 32 bit.