9a0c5d0653
This is cherry-picked from PR#1947 that was committed to the github repo. It allows printf to work with hip-clang and HCC runtime. Change-Id: I754753250ea1e694cf3441722e2d4c9d25fa75bc