Add kvm_getncpus() to obtain mp_ncpus.

Sponsored by:	Nginx, Inc.