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