gallium/python: support two more formats in retrace dumps