[lldb/test] Respect --apple-sdk path when querying SDK info

Respect --apple-sdk <path> if it's specified. If the SDK is simply
mounted from some disk image, and not actually installed, this is the
only way to use it.

Differential Revision: https://reviews.llvm.org/D99746

GitOrigin-RevId: 7d15fb5779452c5efbceb82ce0e1f8724a82d290
1 file changed