fix component checking for non-standard requirements (#7585)
fix component checking for non-standard requirements (#7585)

private and overridden requirements shouldn't be used as
requirements for components
conan-io/conan,conan-io/conan,conan-io/conan