bhyve: Address warnings in blockif_proc()
- Use unsigned types for all arithmetic. Use a new signed variable for holding the return value of pread() and pwrite().
- Handle short I/O from pwrite().
MFC after: 1 week
(cherry picked from commit 46f5c828961e64646c46ff9e3bc8e55f46f3e7bb)