[PATCH v4 19/29] selftests/resctrl: Open perf fd before start & add error handling