Revert "Add validateBufferSize and getTransportSize to gralloc.h" am: ae6d8a3e33
am: c16918a2b2

Change-Id: I6052e92cc7fb78d0f59f79679b62fc3df6db1760