libgui: Fix building with QCOM_BSP + CAF display

Change-Id: Iaf0eb69fa7f409144a266ada683fceb835f62aff
Merge remote-tracking branch 'CyanogenMod/cm-10.2' into cm-10.2