kernel: backport pending fix to select CPU_MIPS64