MIPS: detect mips32r6 and disable mips32r1 code

Change-Id: Id1325c789a990c9a8704e84e99a22d580303eb8a
Merge "MIPS: detect mips32r6 and disable mips32r1 code"