Add kqueue support for devctl.

Reviewed by:	kib,mjg