[Option] Let a tool parse its command line into an options struct (#246881)
Follow-up to #246766: Generalize `OptionsStruct` so that a tool, not
only a library, can get its options as a generated struct.
opt::parseToolArgs parses argv with OptTable::parseArgs, keeping
response files and typo suggestions, and fills the struct.
OptionsStruct<""> gives a tool's struct internal linkage.
`RepeatedField` appends each occurrence's whole value, for options such
as -extra-arg whose values contain commas.
The parts a struct needs without cl:: move from LibraryOptions.h to the
new OptionsStruct.h, and LibraryOptTable becomes OptionsStructTable.
Convert clang-diff.
LLM-aided