Update nsac_memstats.cpp

Correct version of memstats plugin