modifications to the zfs.kext loading code

A few modifications to the code loading zfs.kext (libzfs_load_module()), by request and in response to https://openzfsonosx.org/forum/viewtopic.php?f=26&t=501