gralloc: Refactor size calculation

Make GetSize return the final aligned, layer counted size.
This can be used at other locations

Change-Id: I5a8940b565eec6c8e709163c7736d485688ddb2e
5 files changed