Fix memblock script

It no longer uses the free command, but now depends on a recent version
of the /proc/meminfo file.