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.
Merge pull request #14 from danslo/gettime

change reference from gettime to clock_gettime