darwin: move inference of SDK version into the linker
`std.zig.system.darwin.getSdk` now pulls only the SDK path
so we execute a child process only once and not twice as it was
until now since we parse the SDK version directly from the pulled path.
This is actually how `ld64` does it too.
3b2b9fcbc5Jakub Konka committed on 8/29/2023, 4:43:41 AMparentc429bb5