Replace std::reduce with std::accumulate due to RHEL build issues. [ROCm/hip-tests commit: 2c7f3749fb]
2c7f3749fb