(sgml-lexical-context): Fix up CDATA detection for boundary cases.