[3.0] contrib: harfbuzz: Apply patches to fix building with Clang 16
This is a backport of https://github.com/harfbuzz/harfbuzz/commit/d88269c827895b38f99f7cf741fa60210d4d5169 and https://github.com/harfbuzz/harfbuzz/commit/60c6b7786d9f4651ae2803bfc4ff4435b38a5bc6.
(The first patch is enough to fix mingw builds, but the second one is necessary if building harfbuzz on Linux with Clang 16.)
(cherry picked from commit 75b0e59b) Signed-off-by: Martin Storsjö martin@martin.st
Edited by Steve Lhomme