[6.1][cxx-interop] Fix a CI failure in ptrauth test
This test is not executed by the pre-commit CI, so the failure went
unnoticed after #80495. This PR updates the test to make the CI pass.
rdar://148665873
(cherry picked from commit c0b1fa16001c0f54ffaeec680cd874231f04c3c0)