Backporting revision 1430735 to 10.8

Backporting DERBY-6030(Length of escape string in LIKE ... ESCAPE not properly checked with territory based collation) to 10.8



git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/branches/10.8@1511054 13f79535-47bb-0310-9956-ffa450edef68