[PATCH 5.4 39/43] MIPS: fix build with gcc-12