Fix for heap-use-after-free in GPUService.cpp am: a8186037a7

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

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