Revert "Revert "libgui: Use fences for all QCOM targets""

This reverts commit cbc98d220e1b8698da45ae628d9a7161236a9334.
Don't use fence sync for qcom legacy

Change-Id: Ice64233a25edee763a36a3ba34230d1360a0d610
fix for DECIDE_TEXTURE_TARGET

DECIDE_TEXTURE_TARGET hack wasn't correctly handling the
BufferRejecter that was added in JB. On rare occasions this
resulted in graphical corruption when wrong texture target
was called from BufferRejecter. Move DECIDE_TEXTURE_TARGET
switch before the rejecter to take care of this.

Change-Id: I82d604ff2f89f77d2736c2a5c0ba01e2eab2b308