freedreno/a3xx+a4xx: fix potential null ptr deref