Commit the kluge to make bhyve work in VMware Fusion on Mac OS X.
I don't want to keep it as a modified file in my sandbox.
Port to libvdsk(3). This also removes duplication between this file
and block_if.c.