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