target/mips: Extract nanoMIPS ISA translation routines