[PATCH v2 1/3] selftests/resctrl: Generalize non-contiguous CAT check