tweak typemap/ISA so that you can pass a Groonga::API::(array|hash|pat|dat) object to funcs that require grn_obj* (and vice versa)