Add a sanity check to p5_call_p6_callable

May shorten a future debugging session. Would have helped in the past...