Merge "CCodec: Guard against null output->buffers" into rvc-dev am: 19d5116432 am: 7958631d2b

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/11850304

Change-Id: I15600a808061e0acb73fd6e78b1a75345e8e4580