change reference from gettime to clock_gettime

This was incorrectly copied from HHVM's timer.cpp. There is no such
function as gettime in the C library.