uloop: use clock_gettime with the monotonic clock instead of using gettimeofday()