[Linux-stable-mirror] [PATCH AUTOSEL for 4.9 076/156] perf symbols: Fix symbols__fixup_end heuristic for corner cases