aio01: fix arg types in tst_resm

TEST_RETURN type is long.

Signed-off-by: Jan Stancek <jstancek@redhat.com>
aio01: fix compare loop

For loop was breaking unconditionally after 1st iteration.

Signed-off-by: Jan Stancek <jstancek@redhat.com>