Fix for ClassMetadata::newInstance() PHP 5.5.13

Fixes https://github.com/doctrine/phpcr-odm/issues/498