libgui: fix test after compatibility patches

Change-Id: Iae7333f025bb0271f008e4cc0356cf704800f1b7
Merge remote-tracking branch 'github/cm-12.0' into cm-12.0-2