Add validateBufferSize and getTransportSize to gralloc.h
am: 491378a3d4

Change-Id: I53427d5210fda831e0eee83fc08bdf9838bbfc53