build: disable GTK tests if gtk > 3.10.8
Recent GTK3 versions crashes when creating widgets without X server access. See upstream bug for details:
https://gitlab.gnome.org/GNOME/gtk/-/issues/994