[DebugInfo][HIP] Set DW_AT_language field to DW_LANG_HIP when AMD clang is used (#181738)
Before this change, HIP applications compiled with AMD clang would set
the `DW_AT_language` field to `DW_LANG_C_plus_plus_14`:
```
llvm-dwarfdump hello
hello: file format elf64-x86-64
.debug_info contents:
0x00000000: ...
0x0000000c: DW_TAG_compile_unit
...
------> DW_AT_language (DW_LANG_C_plus_plus_14)
DW_AT_name ("helloworld.cpp")
...
```
This change update the language tag to `DW_LANG_HIP` for these
applications:
```
llvm-dwarfdump hello
hello: file format elf64-x86-64
.debug_info contents:
0x00000000: ...
0x0000000c: DW_TAG_compile_unit
...
------> DW_AT_language (DW_LANG_HIP)
DW_AT_name ("helloworld.cpp")
...
```
Also added a test to check for the new tag
(`debug-info-language-hip.hip`).
The primary motivation for this change is that ROCgdb has to use a
workaround to detect that a program is a HIP application. This removes
the guessing and allows proper detection of the HIP language.
ROCgdb [already has support for
DW_LANG_HIP](https://github.com/ROCm/ROCgdb/commit/316e8393f2ad).