- Add missing cast on bitwise comparison. Try to resolve EZP-22366.

As $contentInfo['language_mask'] and $lang->attribute('id') are strings, a missing cast to INT is required to have expected behaviour on bitwise & operation. Reported on https://jira.ez.no/browse/EZP-22366