[PATCH 21/24] selftests/resctrl: Get resource id from cache id