[PATCH 6.12 103/156] ARC: build: Try to guess GCC variant of cross compiler