checkasm: replace gettimeofday with clock_gettime

tests/checkasm/checkasm.c:55:5: warning: implicit declaration of function 'gettimeofday' is invalid in C99 [-Wimplicit-function-declaration]
    gettimeofday(&tv, NULL);
    ^
26 jobs for freebsd in 6 minutes and 2 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Style
passed #301159
amd64 debian
style-check

00:00:26

 
  Build
passed #301160
amd64 debian
build-debian

00:00:46

passed #301168
debian aarch64
build-debian-aarch64

00:01:31

passed #301169
debian aarch64
build-debian-aarch64-clang-5

00:00:55

passed #301172
debian armv7
build-debian-armv7

00:01:38

passed #301173
debian armv7
build-debian-armv7-clang-5

00:01:16

passed #301175
docker ppc64le
build-debian-ppc64le

00:01:08

passed #301161
amd64 debian
build-debian-static

00:00:46

passed #301171
debian aarch64
build-debian-werror

00:00:31

passed #301162
amd64 debian
build-debian32

00:00:42

passed #301170
macos
build-macos

00:00:51

passed #301174
amd64 debian allowed to fail
build-ubuntu-snap

00:00:45

passed #301166
amd64 debian
build-win-arm32

00:00:32

passed #301167
amd64 debian
build-win-arm64

00:00:33

passed #301163
amd64 debian
build-win32

00:00:48

passed #301164
amd64 debian
build-win32-unaligned-stack

00:00:47

passed #301165
amd64 debian
build-win64

00:00:56

 
  Test
passed #301176
amd64 debian
test-debian

00:00:53

passed #301182
debian aarch64
test-debian-aarch64

00:02:00

passed #301184
debian armv7
test-debian-armv7-clang-5

00:02:29

passed #301178
amd64 debian
test-debian-asan

00:02:34

passed #301179
amd64 debian
test-debian-msan

00:01:13

passed #301183
docker ppc64le
test-debian-ppc64le

00:01:27

passed #301180
amd64 debian
test-debian-ubsan

00:01:35

passed #301177
amd64 debian
test-debian-unaligned-stack

00:01:00

passed #301181
amd64 debian
test-win64

00:00:59