[NFC] target/riscv: refactor init_registers()
#1022
Merged
Loading
init_registers()
#1022