[Linux-stable-mirror] [PATCH 4.9 099/177] perf symbols: Fix symbols__fixup_end heuristic for corner cases