winpthread: use GetSystemTimeAsFileTime instead of _ftime

First, _ftime is not present in all msvcrt versions,
then, _ftime is the "current local time".
windns.h: Don't use __MINGW_TYPEDEF_AW for DNS_RECORD typedef.
netioapi.h: Removed invalid versiob guard.
windns.h: Added some missing defines.
update config.guess and config.sub from mainstream