Propagate VisibleNoLinkage down to class members.

Fixes PR16114.