gettime: fix compile warning for !ARCH_HAVE_CPU_CLOCK