wininet: More win64 compatibility fixes.