[PATCH 12/15] mach-snapdragon: move memory parsing to its own file