Merge changes Ia5154433,I39275dcc,I879301f3 into rvc-qpr-dev

* changes:
  MediaCodec: clean up resources pending removal at init
  CCodec: limit # of active slots instead of # of client buffers
  CCodec: add to check pipelineFull() in feedInputBufferIfAvailableInternal()