update time.cpp/ptime from upstream (r10083) trying to fix non-monotonic time issues with win32.
still one assert from disk_io_thread must be commented out to avoid aborting.