check_slots: make stuff faster

Look for dependencies in slotted packages, not the other way round.
Most things should have a lot less deps than the total number of slotted packages