regressions: fix common_gettimeofday.

Accidentally moved code that sets tv_sec/usec outside of tv NULL check.