freedreno/a6xx: Fix early-z logic for stencil test (and u_inline helpers)
Fixes an early-z related misrendering in a couple "RV AppStudios" titles.
Also converted r300/radeonsi to use the new helpers. I would guess that some other drivers should also be using these helpers.
Edited by Rob Clark