Add test for GetTime()

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