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