configure: check for gio-2.0

Needed for glib-compile-resources