Fix out-of-bounds problem in TClass::EscapeChars

Increase the maximum size to 255 and make sure that the new, expanded string fix in the fixed length buffer.
This fixes ROOT-6239