[ROCm] Fix subprocess error (#6587)
Fixes https://github.com/microsoft/DeepSpeed/issues/6585
Use shell=True for subprocess.check_output() in case of ROCm commands.
Do not use shlex.split() since command string has wildcard expansion.
Signed-off-by: Jagadish Krishnamoorthy <jagadish.krishnamoorthy@amd.com>