Honor reader-lexical-mode in reading character literal

The effective change is to use internal encoding for #\xNNNN when
the lexical mode is 'legacy'.
Describe hex-escape characters in lexical structure section