add option to debug memory pools

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