Add helper function for reading /proc/meminfo