glib2: use rbgobj_boxed_get()
glib2: simplify
glib2: support custom VALUE <-> GBoxed conversion