vmem-fix-stats-with-custom-funcs

Fix to not create pool 0 for vmem_stats()
when custom functions were provided.