change reference from gettime to clock_gettime

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