Fix inout out arg

After checking python gobject binding, found that in-out and out parameters should pass by pointer even via g_function_info_invoke(). So fix in-out and out argument processing accordingly.