Add test for GetTime()

Test for mingw/wine issue #3494, where the upper word of time(NULL)
return value gets clobbered.
Merge pull request #3498

eaafa23 Add test for GetTime() (Wladimir J. van der Laan)