powerpc/32: Move cache info inits to a separate function