Simplify processAndFlushTimeStampSeries

Instead first writing to a deque of short-term
histograms and copying the data over to long-term
histograms, write directly to a single deque
of histograms.

Test: dumpsys media.log
Change-Id: I05a283a54b84bc7d061c7fae7b671390c1690def
2 files changed