gralloc: Refactor size calculation

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

Change-Id: I5a8940b565eec6c8e709163c7736d485688ddb2e
Signed-off-by: Karthi kandasamy <kartka@codeaurora.org>
4 files changed