[PATCH 05/24] selftests/resctrl: Create cache_size() helper