Add conflict detection function to tm_unsync_commit

Now UNSYNC_PREEMPTION with HARD_MMU can support conflict detection and some basic
data analyse (e.g. conflict ratio).

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