galaxys2-common: Fix graphics.c to build with new AOSP

While TWRP doesn't use this file, charger does, and without
custom graphics the charger animations are corrupted.

There are still some remaining issues with LPM such as not showing
the actual battery level, but at least the screen corruption is gone

Change-Id: I8c6594ed0a0181cc8174b6e4209d9be153149967
Merge branch 'kk4.4' of https://github.com/SlimRoms/device_samsung_galaxys2-common into kk4.4