[PATCH v4 1/3] selftests/resctrl: Add cleanup function to test framework