[3.8] main/tiff: fix CVE-2019-6128

Merged Leo requested to merge Leo/aports:3.8-tiff into 3.8-stable

Merge request reports