CMake: Set HIP architectures before compiler detection

3 files changed