[TableGen, CHERI] Make CPtrWildcard test tolerant to unrelated changes (#161406)
Changes to llvm/include/llvm/IR/Intrinsics.td may change the constants
that are embedded in this test. Use wildcards, so that unrelated changes
do not trip over this test failing.
Fixes: https://github.com/llvm/llvm-project/pull/158426