libpacman: Move duplicate adding override to _pacman_trans_add.
libpacman: loop over the whole checkdeps instead of looping by type (preparation to transform to pmtranspkg_t).