Port GlobalHotkeys to the correct SetWindowLongPtr API