s3:registry: fix invalid write in iconvert_talloc()