runtime: Optimise printing unquoted symbols

Unquoted symbols can by definition be printed directly without any
quoting. Instead of writing byte-by-byte we can write the entire buffer.

With the generate-cxr-library benchmark this reduces runtime by 33%