[automerger skipped] [automerge] Fix array out of bound in audioTransportToHal. 2p: f16c6d3a57 am: 377e999d1b am: 7a95f4b584 -s ours am: bf1d61564d -s ours

am skip reason: Merged-In I1fcfa29d7841a1cb73bafb1ea92f3b1630992ae9 with SHA-1 f16c6d3a57 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19214732

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