Simplify p5_wrap_p6_object code a bit.