[PATCH OLK-6.6 021/121] x86/resctrl: Move CLOSID/RMID matching and setting to use helpers