libpacman: Merge _pacman_sync_addtarget in _pacman_trans_addtarget.