smdk4412-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: Icc8d3a29d75b87032be54a6234e8ab274ec75a7c

Conflicts:
	recovery/graphics.c

Change-Id: I06c821fadadc2d21b02c3d7a062fe66801faa484