[POWERPC] Fix -Os kernel builds with newer gcc versions