perf tools: Get rid of a duplicate va_end() in error reporting routine