Fix geoip filter with GeoLite ASN database. (LOGSTASH-1394)

For some reason, the GeoIP::ASN Struct in the geoip gem does not define
a to_hash method.

Pull request for geoip: cjheath/geoip#38