Fix compilation with clang/libc++ on FreeBSD

On FreeBSD the high_resolution_clock is an alias for the steady_clock
-- which doesn't support converting into time_t. As we only need a
precision of seconds for outputting timestamps using system_clock
instead is enough.