s3/pthreadpool: replace bad portable gettimeofday by clock_gettime