Update the visibility of "want_legacy_spans" before removal.
Update the visibility of "want_legacy_spans" before removal.

PiperOrigin-RevId: 371957677
Change-Id: I3e18c073a65f8d7a52eb532c37e87359a6ee5819

google/tcmalloc,google/tcmalloc,google/tcmalloc