[kernel] fix kexec for mips, patch from Adrian Byszuk (#7115)