[PATCH 5.1 308/405] rcuperf: Fix cleanup path for invalid perf_type strings