Fix EZP-23487: file may have already been removed

The image may have already been removed before this event handler is called in `eZImageAliasHandler::removeAliases()`