[PATCH 4.14 054/115] powerpc: Fix size calculation using resource_size()