Timestamp: fix endian bug in freeze_timestamp()

Multiplying a uint64_t by an int was producing wrong results on big-
endian architectures (e.g. PowerPC). This resulted in implausible
timestamps that caused mosh to exit instantly on starting up.

Fixes #479.