[RFC] remove gettimeofday() usage

Ping @equalsraf. When this is merged, you'll probably be able to excise a hack.
Not really a stupid question. I'm unsure myself, now that you mention it. The cast to `char_u` should perform the same truncation.