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

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

Merge request reports