gmmproc: Better error checks in some _WRAP_* macros

* tools/pm/Output.pm: When reordering parameters (cpp_type cpp_name{c_name}),
check that there really are C parameters with the given names.
A missing check together with a mis-spelt C parameter name can cause an
infinite loop in _WRAP_SIGNAL and _WRAP_VFUNC.