add memory pool support for map

Link: https://github.com/GeneAssembly/biosal/issues/376
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>