Fix parsing of memory traces.