[PATCH 6.12 182/369] perf sched: Use RC_CHK_EQUAL() to compare pointers