[PATCH 5.10 338/406] perf top: Dont pass an ERR_PTR() directly to perf_session__delete()