Fix warnings about void* pointer arithmetic

Fix warnings on Cray machines for QIO tests.