Add code for running traces and fix mapping

This commit should not affect the normal function of real benchmark simulation.
Most modificatoins are for trace generation (multiple threads) and trace simulation. Add a macro
called "FIXADDR" which decides whether or not generate fix address mapping (when running spec
benchmarks, should diable this macro). Fixed a bug in MemoryControllerFT (just for trace generation).