[PATCH 4.19 234/276] rcuperf: Fix cleanup path for invalid perf_type strings