config: check for libz

Add a configure extension to check for libz that is needed for the
geoip updater.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>