fix and cleanup suseconds_t/timeval stuff (broken on 64-bit)