gettimeofday: port recent C++ fix to Emacs