CMake tests: Add retry wrapper for flaky Xcode tests


The test_i18n_subdir*_xcode tests occasionally fail due to a spurious
xcodebuild crash during CMake's compiler detection phase. This appears
to be an issue with the Xcode/Parallels VM combination on CI machines,
manifesting as "thread is already initializing this class\!" errors.

Add a POSIX-compliant retry wrapper script that:
- Detects the spurious failure pattern in test output
- Retries up to 3 times if detected
- Treats persistent spurious failures as PASS to avoid blocking CI
- Exits immediately on real (non-spurious) test failures

Task-number: QTBUG-138855
Change-Id: Iaedbe3cbfe77c7181c770fbf4747728c8436c9ba
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commit0e9edcc2d58964507ce969823ceb3ce19235529e
parent904e394d0cfe39d525675e3f712b97138c7748cf
authorJoerg Bornemann <joerg.bornemann@qt.io>
committerJoerg Bornemann <joerg.bornemann@qt.io>
commit timeWed, 18 Feb 2026 15:15:41 +0100