In the context of internal CMake compiler tests, CMAKE_CURRENT_SOURCE_DIR is not the root of the monorepo. This seems to have changed when we bumped the minimum cmake version in D20574.
Fix the OSX_SDK_PATH in the toolchain file to avoid the following error
```
CMake Warning at .../Darwin-Initialize.cmake:303 (message):
Ignoring CMAKE_OSX_SYSROOT value:
/work/abc-ci-builds/build-osx/CMakeFiles/CMakeScratch/TryCompile-.../depends/SDKs/Xcode-15.0-15A240d-extracted-SDK-with-libcxx-headers
because the directory does not exist.
...
ld64.lld: error: library not found for -lSystem
```