- Add a missing g_io_deliver() in case of allocation failure - we didn't   completed I/O requests here. - First allocate all needed bios, so if any of allocations fail, we can   free memory before sending any I/O requests down.
- Add a missing g_io_deliver() in case of allocation failure - we didn't
  completed I/O requests here.
- First allocate all needed bios, so if any of allocations fail, we can
  free memory before sending any I/O requests down.

Reported by:	Pawel Malachowski
MFC after:	3 days

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase