Fix out-of-bounds array access in NNAPI shim converter Add explicit bounds checks for operation inputs/outputs and subgraph input/output indexes in isValid() of ShimConverter.cpp to prevent OOB access and improve error logging. Bug: 269456968 Test: alint Flag: EXEMPT BUGFIX DISABLE_TOPIC_PROTECTOR Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:eb52ba3389366a8c72ab218b677f1c41e2f34ae7 Merged-In: I09c16a02f2b97ce223285871dd38c04ed3327690 Change-Id: I09c16a02f2b97ce223285871dd38c04ed3327690