Xcode: Derive stdlib from CXX flags

Closes: #18396
Status Job ID Name Coverage
  External
passed ghostflow-check-master

passed ghostflow-stager