Coverity 1038133 fix

Clean up parsing code to suppress Coverity:
Dereference before null check (REVERSE_INULL)

Proper checking was already done.
Coverity 1038135 fix

Small cleanup in the error handling. The extra null check confused
Coverity.
Coverity 1038134 fix

Cleaned up error check. "ipdup" can only be non-NULL there, so remove check
that confused coverity.
Coverity 1038138 fix

Clean up parsing code to suppress Coverity:
Dereference before null check (REVERSE_INULL)

Proper checking was already done.
geoip: never try to store more locations than possible (Coverity 1038517)
Fix memory leak on invalid luajit signature. Coverity 1038520.