_parse_proc_ps_log rewrite with iterator

Iterators use much less memory, so larger bootcharts
may be processed without triggering OOM killer and
massive swapping.