kernel32: Avoid using HIWORD on types that are 64bit on Win64.