PCH: Fix Xcode non-pch language exclusion

Fix a regression caused by commit bbcdac4e (PCH: Fix all-language
precompile header support in Xcode, 2021-08-07, v3.22.0-rc1~140^2).

Fixes: #23138
32 jobs for !7166 with release in 94 minutes and 13 seconds (queued for 7 seconds)
latest merge request