libunistring: add upstream patch to fix the build on Xcode-only systems

Fixes #30917.