systrace: fix CRLF handling

This change cleans up the trace data processing part of systrace.py.  It also
makes the CRLF handling auto-detect the line endings of the incoming data.

Bug: 8327984
Change-Id: Ibc43f50a258ace99c09a539478c2c270e2d0a087
1 file changed