[automerge] Fix Out of Bounds Read in AAVCAssembler 2p: 3066b1410d am: 5a884e0659

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

Change-Id: I8506df08fbc9cc150c04fb49e09464abd2e532dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>