Release region of the memory usage map when nobody uses it anymore

This is required to fix a memory leak that can occur if the library
can be loaded and unloaded iteratively through dlopen()/dlclose().