[PATCH 1/2] coresight: etm3x: Smatch: Fix potential NULL pointer dereference