Fix TextureView calling eglCreateImage with a destructed buffer am: df8a0739f7 am: 9b45d620b5 am: 3b591f5ec3

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

Change-Id: I1ed00719b3dc9c842632d6599347a2e941496a34