[PATCH 4.9 20/74] perf: Return proper values for user stack errors