[PATCH 6.5 230/285] MIPS: Only fiddle with CHECKFLAGS if `need-compiler