CA-147671: Refactor block-aio.c before unit testing tdaio_queue_read

Signed-off-by: Flavien Quesnel <flavien.quesnel@citrix.com>
Reviewed-by: Chandrika Srinivasan <chandrika.srinivasan@citrix.com>
CA-147671: [UnitTest] Add unit tests for tdaio_queue_read

Signed-off-by: Flavien Quesnel <flavien.quesnel@citrix.com>
Reviewed-by: Chandrika Srinivasan <chandrika.srinivasan@citrix.com>
Merge branch 'CA-147671' into xs64bit

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