Fix EZP-20018: Failing LanguageCode Criterion

Issue: https://jira.ez.no/browse/EZP-20018

Everything passes but LanguageCode criterion when a language is added to existing content.


Possible clues to why it is failing:
1. Either issue in ContentHandler not setting correct values on update
2. Or wrong sql is used, see [CriterionHandler](https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Publish/Core/Persistence/Legacy/Content/Search/Gateway/CriterionHandler/LanguageCode.php#L64) vs [legacy](https://github.com/ezsystems/ezpublish-legacy/blob/master/kernel/classes/ezcontentlanguage.php#L692) as it differs