[NSan] Make Tests work with Internal Shell
There was one test that was using a subshell. This is not supported by
lit's internal shell. Rewrite the test to use the readfile substitution.
Reviewers: alexander-shaposhnikov, fmayer
Reviewed By: alexander-shaposhnikov, fmayer
Pull Request: https://github.com/llvm/llvm-project/pull/165142