perf scripts python: Fix passing arguments to stackcollapse report