[PATCH 5.15 256/667] selftests/resctrl: Fix null pointer dereference on open failed