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

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

Change-Id: Iaf90cb37ee806ca8ddb8d5948a29694bbf368e35