Apply upstream libtiff fix for CVE-2022-4645