Apply commit 5a821e2d69e2 ("powerpc/boot: Fix build with gcc 15") to stable kernels