[PATCH 5.0 273/346] rcuperf: Fix cleanup path for invalid perf_type strings