cache sig->arity for jitted protos and closures