Don't compare the tid for all trace file visit

We should re-consider carefully the cases one by one carefully when
comparing the thread id matching load/store and basic blocks. This
should be done after we guarantee the load/store sequence when writing
to the trace file.