libui: add boundary check to GraphicBuffer::unflatten am: bf8d7210c4
am: 11ed3dccbd

Change-Id: I29e41b7825be1d65aade78e8c536908183112b01