strip trailing char from meminfo fields