configure: Fix detection of mips processor variants