perf symbols: Fix symbols__fixup_end heuristic for corner cases