gallium, freedreno leak fixes for asan
I'm looking at enabling address sanitizer in some fractional CI runs. There's some work I've got to do to make the runner efficient at running with asan enabled, and handle leak reports well (buffer overflows work great). For now, have a pile of bugfixes.