[PATCH v3 04/12] target/riscv: Implement kvm_arch_get_registers