s3:utils: Use talloc instead of malloc functions