[Sanitizer] Use %device_rundir/ to fix test (#142274)

I attempted to fix this test in
https://github.com/llvm/llvm-project/pull/142235 but we a new error.

https://lab.llvm.org/buildbot/#/builders/186/builds/9524/steps/26/logs/stdio
> ERROR: Can't create directory: /var

The path we want is actually at `/data/local/tmp/Output/var/...`.

I found `%device_rundir/` evaluates to this prefix on android, and
nothing otherwise.

https://github.com/llvm/llvm-project/blob/f057a593a7151437edd25cfbbdcf450139346f12/compiler-rt/test/lit.common.cfg.py#L658

GitOrigin-RevId: 79da1c405dc1b7a6692689b30dd2afa166a17961
1 file changed