[PATCH v4 10/12] target/riscv: Add kvm_riscv_get/put_regs_timer