[PATCH 5.4 02/23] ftrace: Fix potential warning in trace_printk_seq during ftrace_dump