zfs_vnop_pathconf implementation from MacZFS.