Allow compiling for HIP backend with other host compilers
The restrictions to using only the clang compiler coming with a rocm installation had not been actually necessary, as long as all compiler flags are checked.
Also add missing check for a symbol in hardware detection.
Add build testing this