[automerger skipped] Add additional bounds checks to NNAPI FMQ deserialize utility functions am: 7a9e483f4b -s ours am: 2249ed2b2e -s ours

am skip reason: Merged-In I6bfb02a5cd76258284cc4d797a4508b21e672c4b with SHA-1 082cefe340 is already in history

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

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