cpu: Avoid duplicate entries in tracking structures for writes to misc regs
cpu: Avoid duplicate entries in tracking structures for writes to misc regs

setMiscReg currently makes a new entry for each write to a misc reg without
checking for duplicates, this can cause a triggering of the assert if an
instruction get replayed and writes to the same misc regs multiple times.
This fix prevents duplicate entries and instead updates the value.

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