target/mips: Add nanoMIPS decoding and extraction utilities