add tstring_assemble function

This will make event annotate not allocate dynamic string any more,
boost performace in event.annotate hot path.