6/8

riscv: Add shared instruction fetch and decode helpers

Move get_insn() and __read_insn() out of traps_misaligned.c so breakpoint single-step code can share the instruction fetch logic. Add helpers to read GPR values and compute the next RISC-V PC for con