vmem-fix-stats-with-custom-funcs

Fix to not create pool 0 when vmem_stats() is called and custom functions were provided.