Merge changes from topic "s5_histogram" into qt-qpr1-dev

* changes:
  histogram: fix the re-entrance of thread creation in start
  histogram: enable histogram events
  histogram: connect histogram event to ringbuffer
  composer: add histogram dispatch to event loop
  histogram: refactor histogram thread
  histogram: disable HWC sampling functions.
  sm7150: cherry pick histogram code from sm8150