[PATCH RFC v6 04/12] target/riscv: Implement kvm_arch_get_registers