libpacman: Fix compilation, spurus header include.
pacman-g2: Do not track syncs db using a global pmc_syncs, use pacman_get_option (PM_OPT_SYNCDB, ...) instead.
libpacman: Remove pacman_cb_db_register.