GTiff: fix writing of RGBA pixel-interleaved JPEG-compressed TIFF (#4732)

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

Conflicts:
	autotest/gcore/tiff_write.py