[PATCH 3.16 123/328] powerpc: Fix size calculation using resource_size()