[PATCH v4 05/12] target/riscv: Implement kvm_arch_put_registers