[PATCH 4.4 22/60] powerpc: Fix size calculation using resource_size()