[Linux-stable-mirror] [added to the 4.1 stable tree] perf symbols: Fix symbols__fixup_end heuristic for corner cases