[PATCH 4.14 033/166] tracing: Adding NULL checks for trace_array descriptor pointer