s3: Attempt to fix the build on AIX, shm_ptr seems to be a macro there