[PATCH RFC v3 04/14] target/riscv: Implement kvm_arch_get_registers