gcx: fixed scaler temp parameter calculations.

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