[PATCH 5.4 16/17] perf symbols: Fix symbol size calculation condition