The fix added in r352904 is not quite correct, or rather misleading:
- When the texfailctrl (TFC) argument was non-constant, the fix assumed non-TFE/LWE, which is incorrect.
- Regardless, this code path cannot even be hit for correct TFE/LWE-enabled calls, because those return a struct. Added a test case for those for completeness.
Change-Id: I92d314dbc67a2670f6d7adaab765ef45f56a49cf