compat: Add stoken__gmtime_r() for Windows

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>