Refactor: handle unparsable longs

Test: atest MemoryStatUtilTest
Change-Id: I4827dac5ffd5488a3795391e09a2db49601234e9
2 files changed