[PATCH v3 02/29] selftests/resctrl: Return -1 instead of errno on error