gi bindings: use the gc for refcounting