ceph_test_rados_api_*: fix build warnings and memset ranges