gbm_gralloc: Sync with upstream project am: 48ce23715a am: e072e96c13 am: 0d96cb4f50

Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1429668

Change-Id: I21d72c805a53c306fd54830562eb52029acedcaa