Fix error: cannot pass object of non-trivial type string through variadic function when building in debug mode
Fix error: cannot pass object of non-trivial type string through variadic function when building in debug mode

Change-Id: Idd55ed422addc815fb56c57b05bd4afa9563f2ac

ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP