[PATCH 5.16 34/37] perf symbols: Fix symbol size calculation condition