kernel: Fix MIPS bounds check virt_addr_valid