[MLIR] Print (u)int8_t args as numbers and properly support char args (#225680)
Adds printing overloads for 8-bit integers to make sure that the
tablegen generated `assemblyFormat` code prints them as numbers instead
of resolving to the `raw_ostream` char overload. This solves
inconsistent round-trips where the parser accepted a number but the
printer emitted a glyph (e.g. `<65>`->`<A>`).
Adds support for printing/parsing raw char arguments to make sure that
it is possible to have glyphs as arguments.
This is also a behaviour change for hand-written printers and parsers:
streaming an `int8_t`/`uint8_t` into an `AsmPrinter` now prints a
decimal number instead of a raw character, and `char` parameters are now
parsed and printed as a single-character keyword or quoted strings.
Hand-written `printer << c` still prints a raw char.
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>