[HIP] Correct headers and add missing function templates for hip-clang. [ROCm/clr commit: b94f5bd667]
b94f5bd667