[apinotes-test] Switch to OptTable (#246760)

Parse the command line with OptTable instead of cl::opt, as part of
removing cl::opt from clang/. Help output uses the OptTable format, and
LLVM's global options (e.g. -debug-only, --version) are no longer
accepted.

LLM-aided

GitOrigin-RevId: 7dbd3e4395179bc51a126e24ebaa8e40c49152b2
1 file changed