Bindings: Generalize the skippable_attribute method
De-duplicate it between variables and functions. The callers already handle reporting the removal.