[PATCH 5.7 030/112] tools lib traceevent: Add append() function helper for appending strings