kernel: backport a rewrite of the mips eBPF JIT implementation