Apache FOP Code fix

Code fix
by
JM
:

Bugfix for invalid handling of ICC color profiles in JPEG images and for
dealing with CMYK JPEG images with the Adobe APPE marker.