fix munmap size and segfaults with shared memory opened with different db
IP2Location_open should call open_mem internally
api change: #getRecord -> #query; #info()