Lex: Fix quadratic behavior when unescaping _Pragma strings.

No functionality change.