[ios] Fix compilation of //ios/intents/app:intents with Xcode 15.3

Starting with Xcode 15.3, appintentsmetadataprocessor requires to be
passed the --xcode-version parameter with a value of ${xcode_build}.
Older version of the tool did not recognize the parameter though.

Update build/config/ios/{extract_metadata.py,rules.gni} to pass the
value if needed.

Bug: none
Cq-Include-Trybots: luci.chromium.try:ios17-sdk-simulator
Change-Id: I015c797ca4b75c5d3890e0845bdbc4fd4efdeecd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5401695
Reviewed-by: Yue She <yueshe@google.com>
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1279040}
NOKEYCHECK=True
GitOrigin-RevId: cc390358cbc1a2b4b4d9058d7811354fbda6ed7a
2 files changed