libaio: retry on -EINTR

Signed-off-by: Jens Axboe <axboe@fb.com>
libaio: commit on EAGAIN

If we have pending IOs, commit them.

Signed-off-by: Jens Axboe <axboe@fb.com>