[PATCH AUTOSEL 4.14 24/37] perf top: Fix error handling in cmd_top()