EZP-21324: image files can be removed by mistake

Since copies of archived versions aren't processed by eZDatatype::onPublish,
they still reference the same images than the original.

The removeAliases() method didn't take this into account, and could
delete images that were actually used by the original content.

This patch prevents the method from deleting images that don't have
an entry in ezimagefile.