gcx: fixed surface offset calculations.

This is primarily to fix YUV plane location
calculations, but RGB formats are affected as well.

Change-Id: I2877c3c0ec35c03425903c2df9de08ba201cf091
Signed-off-by: Alexei Shlychkov <x0177296@ti.com>