[PATCH 4.16 24/26] perf: Return proper values for user stack errors