[PATCH v4 18/29] selftests/resctrl: Move cat_val() to cat_test.c and rename to cat_test()