CA-147672: Refactor block-vhd.c for unit tests

Signed-off-by: Flavien Quesnel <flavien.quesnel@citrix.com>
CA-147672: [UnitTest] Add unit tests for aio_{read,write}

Signed-off-by: Flavien Quesnel <flavien.quesnel@citrix.com>