Fix EZP-23823: Add missing object attributes with Symfony console results in PHP Fatal error

PHP Fatal error:  Call to a member function output() on a non-object in /var/www/ezpublish/ezpublish_legacy/extension/ezscriptmonitor/bin/addmissingobjectattributes.php on line 70