HIP: Fix search for hip-lang CMake package on multiarch distros
We need CMAKE_LIBRARY_ARCHITECTURE
to find the package before HIP
compiler ABI detection. However, if HIP is the first enabled language,
the value is not known until CMAKE_HIP_LIBRARY_ARCHITECTURE
is
determined by the ABI detection step. Resolve this by detecting
CMAKE_HIP_LIBRARY_ARCHITECTURE
from the compiler id output.
Fixes: #24562 (closed)