Separate Xcode and CLT doctor checks by OS X version

Closes #29206.