[PATCH openEuler-5.10 2/2] perf annotate: Add error log in symbol__annotate()