More correct use of __FreeBSD__ and BSD4_4 ifdefs. Fixed kvm_openfile() call based upon suggestion from Bruce Evans.