Fix bug 10989 [CTFE] Uncaught exception messages are not pretty printed

Convert it to a StringExp before printing.
Merge pull request #2563 from donc/uncaught10989

10989 [CTFE] Uncaught exception messages are not pretty printed