Fix shared memory efficiency

Instead of processing all of the "geoip_load_shared_mem" function when using the "GEOIP_SHARED_MEMORY" option flag, we only check that the shared memory is in use if not, we continue to open the file (e.g. execution all geoip_load_shared_mem).

It helps.