Reland "[lldb][lit] Add MallocNanoZone envvar to Darwin ASan builds" … (#88442)

…(#88436)"

This reverts commit 1f5d130df85c2d0550dc8687ad0fa1d96856c318. The
original commit checks that the host system is "Darwin" before setting
the `MallocNanoZone` envvar, but on the Shell lit config this attribute
does not exist at the point where it is being checked which leads to a
build failure.

This commit checks the host OS correctly.

GitOrigin-RevId: c1a44568911b75c98675a3c19a55b4741d861437
2 files changed