[PATCH 5.15 157/168] ARC: build: Try to guess GCC variant of cross compiler