[PATCH v8 08/12] lib: Uplevel the pmem "region" ida to a global allocator