meminfo: fix up density calculation

Signed-off-by: Luc Verhaegen <libv@skynet.be>