Windows XP updates

 - Expand the `git_has_win32_version` function to allow testing for service packs.
 - Move the win32 version testing out of `hash_win32.c`.
 - Don't execute IPv6 `inet_pton` tests on XP since it lacks IPv6 support.