tiff: enable jpeg checking, fix compilation warning


In the libtiff distro, CHECK_JPEG_YCBCR_SUBSAMPLING is defined per
default, so we should too. This also fixes an unused parameter
compilation warning.

Pick-to: 6.11
Change-Id: I1cb55630577cce2a5823fc9c0c4b16886cd9fb67
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
commitc297560a97a2699f5834c3f815eb10cd59e9a03a
parent034fa892248cbe20d16b01abc497a101b95b3f63
authorEirik Aavitsland <eirik.aavitsland@qt.io>
committerEirik Aavitsland <eirik.aavitsland@qt.io>
commit timeWed, 29 Apr 2026 14:35:15 +0000