Fixes build-name bug due to reversed string() arguments in cmake. [ROCm/hip commit: 2da880620d]
2da880620d