core: examine memory pool for leak

Link: https://github.com/GeneAssembly/biosal/issues/788
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
cray: don't enable CONFIG_DEBUG by default

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