generic/kernel: add a fix for a common MIPS build failure.