[build] Fix redis build in linux. (#29179)
[build] Fix redis build in linux. (#29179)

The current build in some platform will show errors:

```
    Execution platform: @local_config_platform//:host
    rm: cannot remove 'tmp-redis-bin/redis/bin/redis-cli': Permission denied
    rm: cannot remove 'tmp-redis-bin/redis/bin/redis-benchmark': Permission denied
    rm: cannot remove 'tmp-redis-bin/redis/bin/redis-check-rdb': Permission denied
    rm: cannot remove 'tmp-redis-bin/redis/bin/redis-sentinel': Permission denied
    rm: cannot remove 'tmp-redis-bin/redis/bin/redis-server': Permission denied
    rm: cannot remove 'tmp-redis-bin/redis/bin/redis-check-aof': Permission denied
    rm: cannot remove 'tmp-redis-bin/redis/include': Permission denied
```

This PR fixed this by avoiding creating tmp dir.
ray-project/ray,ray-project/ray,ray-project/ray,ray-project/ray,ray-project/ray,ray-project/ray,ray-project/ray,ray-project/ray