[PATCH 5.10 128/138] ARC: build: Try to guess GCC variant of cross compiler