Fix EZP-21190: installer fails at package validation using PHP 5.5

https://jira.ez.no/browse/EZP-21190

Ref https://github.com/ezsystems/ezpublish-legacy/pull/693