[PATCH v3 17/19] selftests/resctrl: Move CAT/CMT test global vars to function they are used in