target/riscv: Consolidate RV32/64 16-bit instructions