gdk3: add deprecated constants

Gdk::Event::XXX_MASK style is deprecated. Use
Gdk::EventMask::XXX_MASK or :xxx_mask style instead.