[orc-rt] Add quote() to StringExtras.h. (#245112)
quote() wraps a string so that StringOutputStream prints it in double
quotes, escaping any embedded quotes and backslashes as std::quoted
does. A null const char * prints as NULL, so that nullable C strings
(e.g. arguments in diagnostics) can be printed without a separate null
check.