Move timeval defs to common.h.