libpacman: Avoid a wrapper function which can be simply replaced by a function definition cast.
libpacman: Remove some more usage of pmtrans_t::_packages.