gallium/tools: Make the trace tools work with python 2 and 3
@ajax pointed out these don't work with python 3 a few weeks ago, and I was bored. I've tried to make the changes forward-looking, as python 2 is EOL, but I've kept python2 support.
@ajax pointed out these don't work with python 3 a few weeks ago, and I was bored. I've tried to make the changes forward-looking, as python 2 is EOL, but I've kept python2 support.