mm-video: venc: use source stride for color-converting RGB input

 -RGB input may be composed by GPU with an aligned stride
  different from the frame-width.
 -CTS test cases testEncodeDecodeVideoFromSurfaceToSurface720p
  and testVideoEdit720p fails because gralloc-handle
  stride value is not used
 -Extract this stride from gralloc-handle to interpret the buffer

Change-Id: I63fd224e933424e1e8c49a19270545f000a2ebd5
mm-video: vdec: Fix memory leak in color converter.

When OMX is deinitialized, the color converter buffers stay intact, causing the
available memory pool to have less continuous space available.

Change-Id: Icc2d730d540bae153c9fde36a6f4267ff3f9f088
mm-video: vdec : Avoid updating stride in flushing state

 -omx component is accessing the buffer after fill_buffer_done call
  on the client. This is to update the stride value for smooth
  streaming.
- During flushing scenario, buffers are returned to the client through
  fill_buffer_done call and client is expected to the free the buffers
  in the same context. Accessing the buffer in this scenario is leading
  to a crash during testH264_adaptiveSmallDrc.
- Fix is to avoid updating stride value when in flushing state.

  CRs-fixed: 651562

Change-Id: Ibe79fad264f42da8a356ef6b43793203035bced7
Merge remote-tracking branch 'cm/cm-11.0' into kk-4.4