freedreno: fix potential hang when destroying batch