core, w32: Add w64 handling for regkeys