freedreno: add debug helper to dump buffers