fix(rules): Filter out sodeps from missing makedeps
Soname dependencies are not meant to be added to makedepends, because soversions are unknown during build, and can be ambiguous between packages, especially on multilib systems.
Also, add pkgnames to global_deps
only after the recursive dependency search to get proper results. Without this, all the dependencies of split packages are added to global deps, making the whole check useless.