freedreno: move a2xx specific hack out of core