Test lossless copying of a CMYK JPEG into JPEG-in-TIFF (#5712)

git-svn-id: https://svn.osgeo.org/gdal/trunk@27898 f0d54148-0727-0410-94bb-9a71ac55c965
Skip tiff_write_128 if JPEG not available (#5712)

git-svn-id: https://svn.osgeo.org/gdal/trunk@27900 f0d54148-0727-0410-94bb-9a71ac55c965