[gcc-python-plugin] add a gcc.Gimple.walk_tree method