libxbps: detect and fix pkgs that depend on itself.
New test cases to detect pkgs with dependencies on itself.