[PATCH 5.4 041/388] tracing: Adding NULL checks for trace_array descriptor pointer