compat: Add stoken__gmtime_r() for Windows

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>