libpacman: Remove some warnings, and remove bogus error override.