libtime.c: fix compile regression on VC6

It doesn't like converting from uint64 to double, and 1e6 is considered
a double.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>