gobject: link against uninstalled libraries

Make sure to link the gobject library and the gir using the in-tree
built libguestfs, so a system library won't be used accidentally.