Non-XInput2 build fix
Non-XInput2 build fix

The part in gdkwindow-x11.c which uses XIEvent and friends is "protected"
by HAVE_XGENERICEVENTS, i.e., XGetEventData() has been found. (Xlib.h)

XIEvent and friends are defined in <X11/extension/XInput2.h> which is
included by gdkdisplay-x11.h if XINPUT_2 is defined.

The patch makes sure XIEvent is only used if XINPUT_2 is defined.

https://bugzilla.gnome.org/show_bug.cgi?id=667534

grubersjoe/adwaita,ahodesuka/gtk,Lyude/gtk-,Lyude/gtk-,Lyude/gtk-,jessevdk/gtk,Adamovskiy/gtk,ahodesuka/gtk,ahodesuka/gtk,davidgumberg/gtk,Distrotech/gtk2,jadahl/gtk,Sidnioulz/SandboxGtk,Distrotech/gtk2,chergert/gtk,alexlarsson/gtk,chergert/gtk,jigpu/gtk,Distrotech/gtk2,Lyude/gtk-,davidgumberg/gtk,chergert/gtk,davidgumberg/gtk,davidt/gtk,ahodesuka/gtk,bratsche/gtk-,jadahl/gtk,davidgumberg/gtk,davidgumberg/gtk,ebassi/gtk,jigpu/gtk,ahodesuka/gtk,jadahl/gtk,chergert/gtk,ahodesuka/gtk,davidgumberg/gtk,alexlarsson/gtk,Distrotech/gtk2,jadahl/gtk,ebassi/gtk,davidgumberg/gtk,Adamovskiy/gtk,alexlarsson/gtk,alexlarsson/gtk,ebassi/gtk,jadahl/gtk,Lyude/gtk-,jadahl/gtk,bratsche/gtk-,davidt/gtk,bratsche/gtk-,davidt/gtk,alexlarsson/gtk,chergert/gtk,grubersjoe/adwaita,ahodesuka/gtk,Distrotech/gtk2,ebassi/gtk,Distrotech/gtk2,jessevdk/gtk,chergert/gtk,bratsche/gtk-,ebassi/gtk,ahodesuka/gtk,grubersjoe/adwaita,grubersjoe/adwaita,jessevdk/gtk,msteinert/gtk,Lyude/gtk-,Sidnioulz/SandboxGtk,grubersjoe/adwaita,jessevdk/gtk,Sidnioulz/SandboxGtk,Sidnioulz/SandboxGtk,jigpu/gtk,msteinert/gtk,Adamovskiy/gtk,Adamovskiy/gtk,grubersjoe/adwaita,jigpu/gtk,jadahl/gtk,Adamovskiy/gtk,msteinert/gtk,chergert/gtk,msteinert/gtk,alexlarsson/gtk,Lyude/gtk-,grubersjoe/adwaita,Sidnioulz/SandboxGtk,jessevdk/gtk,Adamovskiy/gtk,davidt/gtk,jigpu/gtk,ebassi/gtk,davidt/gtk,Adamovskiy/gtk,jigpu/gtk,alexlarsson/gtk,jessevdk/gtk,jadahl/gtk,Lyude/gtk-,msteinert/gtk,Sidnioulz/SandboxGtk,msteinert/gtk,davidgumberg/gtk,grubersjoe/adwaita,jigpu/gtk,jigpu/gtk,bratsche/gtk-,bratsche/gtk-,jessevdk/gtk,chergert/gtk,alexlarsson/gtk,Adamovskiy/gtk,davidt/gtk