"Pander", no. Avoid offending when "offending" would require active effort and "not offending" would just require doing nothing, yes.
Let me talk about professionalism for a moment. The whole concept of "professionalism" is that it's a set of artificial etiquette that allows people who absolutely detest one-another to get along for long enough to complete a joint venture.
I think we forget what professionalism is; a relatively-isolationist country like the US (in terms of where its citizens go on holiday, not in terms of its foreign policy) has little need of it. For most countries through most of history, though, professionalism is the thing that you're expected to show when your country decides to ally with that country you were just at war with, and you have to work with people who had just been shooting friends of yours.
We expect—and depend on—our tooling enabling professionalism in this sense. That means obvious things like not having insults toward the French in ARM ISA references; but it also means not using religious iconography in a country with multiple religions; not including the Battle Hymn of the Republic as a default ringtone on phones; etc. We want to ensure that we don't accidentally, through coincidences of technology, destroy a negotiation or cause a diplomatic crisis.
As to political activism in computer tools... there is a time and place for everything (almost?) and I personally disagree that a computer tool is a place for some random political activism.
I guess, the same could be said about abortion jokes. Some people might take them too personal.
Of course, it's still inappropriate for glibc docs.
(The fact that this reference is so unclear is probably a reason that, everything else aside, the joke is not very good. The glibc maintainers have offered to replace it with some clear text about censorship in the US.)
That joke was 20-something years old. It ran its course.
Also, as far as calling LGBT rainbows "political", I would have to disagree. You either view LBGT people as equal, or you can be a hateful person. There's no good reason to pander to the latter, but plenty of reasons to stand up in unity with the former.
There are some concepts that need to be aggressively viewed as truths rather than opinions. The civil rights movement was won by people standing up and putting their own enrichment aside to say "You are wrong and we stand up in unity with the people you view as subhuman". No reason to shame anyone from doing that again today.