freedreno/a6xx: add VALIDREG/CONDREG helper macros