Replace deprecated values with preferred values.
Replace deprecated values with preferred values.

* https://developer.apple.com/documentation/appkit/nseventtype
* https://developer.apple.com/documentation/appkit/nseventmask

PiperOrigin-RevId: 423723117

google/mozc,fcitx/mozc,google/mozc,google/mozc,fcitx/mozc,fcitx/mozc,google/mozc,fcitx/mozc,fcitx/mozc,google/mozc