[PATCH 4.14 22/22] perf symbols: Fix symbol size calculation condition