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