configure: Don't link to both Qt and gdk-pixbuf if both are autodetected