[gem5] Fix bug: statistics take no effect in constructor.