[DiagnosticPrinter] Use the appropriate method to print a Twine object in a
raw_ostream.