Configs: Fix handling of maxtick and take_checkpoints
Configs: Fix handling of maxtick and take_checkpoints

In Simulation.py, calls to m5.simulate(num_ticks) will run the simulated system
for num_ticks after the current tick. Fix calls to m5.simulate in
scriptCheckpoints() and benchCheckpoints() to appropriately handle the maxticks
variable.

zlfben/gem5,powerjg/gem5-ci-test,gedare/gem5,KuroeKurose/gem5,rjschof/gem5,rallylee/gem5,sobercoder/gem5,TUD-OS/gem5-dtu,powerjg/gem5-ci-test,yb-kim/gemV,gem5/gem5,zlfben/gem5,zlfben/gem5,samueldotj/TeeRISC-Simulator,rallylee/gem5,gem5/gem5,austinharris/gem5-riscv,samueldotj/TeeRISC-Simulator,joerocklin/gem5,HwisooSo/gemV-update,SanchayanMaity/gem5,cancro7/gem5,sobercoder/gem5,samueldotj/TeeRISC-Simulator,gedare/gem5,cancro7/gem5,joerocklin/gem5,cancro7/gem5,aclifton/cpeg853-gem5,sobercoder/gem5,rjschof/gem5,Weil0ng/gem5,cancro7/gem5,aclifton/cpeg853-gem5,TUD-OS/gem5-dtu,qizenguf/MLC-STT,yb-kim/gemV,kaiyuanl/gem5,sobercoder/gem5,SanchayanMaity/gem5,SanchayanMaity/gem5,briancoutinho0905/2dsampling,austinharris/gem5-riscv,rjschof/gem5,austinharris/gem5-riscv,rallylee/gem5,zlfben/gem5,briancoutinho0905/2dsampling,gedare/gem5,powerjg/gem5-ci-test,sobercoder/gem5,zlfben/gem5,rjschof/gem5,qizenguf/MLC-STT,yb-kim/gemV,briancoutinho0905/2dsampling,TUD-OS/gem5-dtu,joerocklin/gem5,qizenguf/MLC-STT,TUD-OS/gem5-dtu,gedare/gem5,cancro7/gem5,markoshorro/gem5,powerjg/gem5-ci-test,KuroeKurose/gem5,markoshorro/gem5,yb-kim/gemV,HwisooSo/gemV-update,KuroeKurose/gem5,gedare/gem5,markoshorro/gem5,markoshorro/gem5,Weil0ng/gem5,austinharris/gem5-riscv,qizenguf/MLC-STT,gem5/gem5,samueldotj/TeeRISC-Simulator,aclifton/cpeg853-gem5,KuroeKurose/gem5,sobercoder/gem5,SanchayanMaity/gem5,yb-kim/gemV,kaiyuanl/gem5,markoshorro/gem5,markoshorro/gem5,kaiyuanl/gem5,KuroeKurose/gem5,kaiyuanl/gem5,gem5/gem5,rallylee/gem5,joerocklin/gem5,rallylee/gem5,SanchayanMaity/gem5,kaiyuanl/gem5,Weil0ng/gem5,KuroeKurose/gem5,TUD-OS/gem5-dtu,joerocklin/gem5,joerocklin/gem5,austinharris/gem5-riscv,cancro7/gem5,briancoutinho0905/2dsampling,HwisooSo/gemV-update,qizenguf/MLC-STT,Weil0ng/gem5,zlfben/gem5,qizenguf/MLC-STT,yb-kim/gemV,SanchayanMaity/gem5,qizenguf/MLC-STT,SanchayanMaity/gem5,kaiyuanl/gem5,HwisooSo/gemV-update,HwisooSo/gemV-update,yb-kim/gemV,rallylee/gem5,yb-kim/gemV,joerocklin/gem5,zlfben/gem5,HwisooSo/gemV-update,aclifton/cpeg853-gem5,powerjg/gem5-ci-test,samueldotj/TeeRISC-Simulator,briancoutinho0905/2dsampling,rjschof/gem5,TUD-OS/gem5-dtu,KuroeKurose/gem5,cancro7/gem5,rjschof/gem5,gedare/gem5,austinharris/gem5-riscv,gem5/gem5,austinharris/gem5-riscv,rjschof/gem5,aclifton/cpeg853-gem5,sobercoder/gem5,aclifton/cpeg853-gem5,kaiyuanl/gem5,briancoutinho0905/2dsampling,samueldotj/TeeRISC-Simulator,aclifton/cpeg853-gem5,HwisooSo/gemV-update,briancoutinho0905/2dsampling,gedare/gem5,TUD-OS/gem5-dtu,markoshorro/gem5,gem5/gem5,gem5/gem5,powerjg/gem5-ci-test,powerjg/gem5-ci-test,samueldotj/TeeRISC-Simulator,Weil0ng/gem5,Weil0ng/gem5,joerocklin/gem5,Weil0ng/gem5,rallylee/gem5