Fix OOB Read in convertSubgraphFromHAL Bug: 269271098 Test: Run the POC (cherry picked from https://android-review.googlesource.com/q/commit:029b72665f6c7c262255ad7475d4be9fc58d9db0) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a80b30fff9550baead3ea7f6984053d90236dc9f) Merged-In: I7a5f3780fafd12663693b74988baee6a9188041f Change-Id: I7a5f3780fafd12663693b74988baee6a9188041f