[PATCH 4.19 029/245] tracing: Adding NULL checks for trace_array descriptor pointer