glib2: support unowning boxed object