log_trace: fix the memmove use

The first parameter of memmove is the dst, not src. Besides, fix the
wrong move size.