Backport gcrypt patch to fix macOS build
See upstream patch: https://dev.gnupg.org/rCfa21ddc158b5d7b5900856e5b131071302217a51 and discussion: https://dev.gnupg.org/T6442
See upstream patch: https://dev.gnupg.org/rCfa21ddc158b5d7b5900856e5b131071302217a51 and discussion: https://dev.gnupg.org/T6442