build: package: skip prioritizing deps of pkg which are a subpkg of pkg
All threads resolved!
Some packages in aports have their own subpackages in their dependencies, for some reason. This causes our resolver to assume there is a cyclical dependency.
Adjust the resolver to safely ignore these dependencies, since they'll be built as a part of the package that depends on them.
For example, modemmanager depends on libmm-glib which is a subpackage of modemmanager. Currently to build modemmanager in pmaports it would be necessary to manually modify the APKBUILD after copying it from aports. This change avoids that.