Modify gralloc0 implementation

Add validateBufferSize and getTransportSize

Bug: 131089111
Test: build, boot
Change-Id: I9820197865e47832ae209cbf1cac3b544f45e60e
1 file changed