Revert "Fixed some gralloc errors"

This reverts commit a8df30e414d1ea047a3730893df90cfd708cb3a2.