configure.ac: check for clock_gettime and CLOCK_MONOTONIC