[PATCH 5.10 25/30] perf symbols: Fix symbol size calculation condition