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