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: Iae416dc79968bfae48865bd137533d2d5a11d4eb