s3: Use talloc_tos() in parse_share_modes()