Handle `kd == NULL` gracefully with kvm_close/kvm_geterr
Don't segfault (kvm_close) or "just work by accident" (kvm_geterr).
- kvm_close: return -1/set errno == EINVAL.
- kvm_geterr: return NULL.
- Document the new error condition/return behavior in kvm_close(3).
- Document the new explicit return behavior for kvm_geterr(3); this
was implicitly true, previously, if `errbuf` was invalid; best
make this behavior clear.
MFC after: 1 week
Sponsored by: Dell EMC Isilon