Fix ctypes exposure of arrfunc_instantiate_t