Apexq: Update panel color offset application.

Corrects overflow errors due to inappropriate assumptions
made regarding the way that char's overflow. Taken from jf.

Change-Id: I9126b4fc698800a93d4cafad24f134b339130eaf
Merge branch 'cm-10.2' of https://github.com/CyanogenMod/android_kernel_samsung_d2 into HEAD