Implement time functions using Win32 API directly

Fixes innoextract not being able to launch on Windows XP.
Remove obsolete Windows-specific time code paths