s3-eventlog: fix buffer allocation in eventlog read call.