freedreno/a3xx: fix comparison out of range warnings