[PATCH 6.6 193/222] ARC: build: Try to guess GCC variant of cross compiler