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

This reverts commit d6b62163a6e1a9147cb8ad1c153948f7a06a58a9.