[automerger skipped] gralloc: Additional buffer validation in getTransportSize am: 9a1a6e5eb6 -s ours am: 31fda111e0 -s ours am: 9999cb1ba5 -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: Ie710c712391fe892a9b38a7b7fad73ee7c84a91a