Chrono: avoid the use of gmtime_r on windows test to avoid compiler failure.

[SVN r86413]