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

Change-Id: I94e44b2704f412aafbbb821ea171899165405b17