[automerger skipped] gralloc: Additional buffer validation in getTransportSize am: 9a1a6e5eb6 -s ours am: 31fda111e0 -s ours am: dec1d9e0a9 -s ours

am skip reason: Change-Id Ife686b996220df8094216a7e55e66176fe6c3521 with SHA-1 9a1a6e5eb6 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/sdm845/display/+/11590991

Change-Id: Id0d8a101970a9728c82718d7e3aab2d284aa25be