Update apps/geoipupdate.c

When I was testing the branch, I noticed that an GeoIP_update_database_general error in one loop iteration might get zero'd out by a subsequent loop iteration.  

This change should make sure main still exits with an error code if any of the loop iterations fail.