cmPackageInfoArguments: Simplify argument checking Refactor cmPackageInfoArguments::Check to use helper macros for repetitive argument validation.