progs/gallium/python: Try to fix most regressions.

Not enough for retrace to work again though.
9 files changed