collectd-tg: Fix unintentional cast from double to time_t.