[PATCH 6.8 059/158] perf lock contention: Add a missing NULL check