NXP-11746 Make Imaging more safe when guessing mime types

Conflicts:
	nuxeo-platform-imaging/nuxeo-platform-imaging-core/src/main/java/org/nuxeo/ecm/platform/picture/ImagingComponent.java