freedreno: add is_a3xx()/is_a4xx() helpers