Improve performance of gettimeofday

Applied fixes to gettimeofday based on knowledge in this thread:
    http://www.freelists.org/post/luajit/simple-change-causes-trace-aborts,1

 * Lifted the timeval allocation to a local.
 * Put parentheses around the return value calculation
 * Replaced occurrences of ffi.C with local 'C'.
Actually run tests for gettimeofday change
Merge pull request #83 from neomantra/nm-gettimeofday

Improve performance of gettimeofday