gio2: suppress deprecation warning in tests