Skip already added bean methods from superclass

When adding bean methods from a Configuration class,
overridden methods from superclass are added too and
it's bean definition overrides those declared in the subclass.

Issue: SPR-10992