[gem5-scripts] (follow. 9ab19) fix bug