[gem5] Equivalent transformation: use discrete events in checkpointing.