date.c: fix unsigned time_t comparison