_r time function variants don't exist in Windows

localtime_r and asctime_r are POSIX only, but the original forms
should be thread-safe in Windows because they use thread-local
storage.