Seperate tm_sync from tm_commit, add tm_sync to the first tm_unsync_commit

Seperate the synchronize progress from tm_commit to tm_sync.
Use tm_sync to sync the first commit of unsync preemption.

Signed-off-by: Arthur Chunqi Li <yzt356@gmail.com>
Merge disable process in tm_commit and tm_unsync_commit

Add tm_disable to handle record disable process.

Signed-off-by: Arthur Chunqi Li <yzt356@gmail.com>