libpacman: Rework a little around depends.
libpacman: Use transpkg->pkg_local instead of reasking cache for it in _pacman_transpkg_checkdeps.