[PATCH 6.0 060/314] tools/testing/cxl: Fix some error exits