KVM: fix kvm_init() error handling