[PATCH 6.15 263/480] perf sched: Use RC_CHK_EQUAL() to compare pointers