HHH-5932 Test and fix on 4.2

See [HHH-5932](https://hibernate.atlassian.net/browse/HHH-5932). Fix an issue when enabling a filter on an HQL query that contains a literal string starting with a colon.

The fix is to remove strings open and close quote from the symbols used to split the SQL string into tokens. This doesn’t break any existing test, but worries me in that the open and close quote were clearly voluntarily added.