Copy patch from gcc 11 to gcc 12 and add missing hash. Refresh patch for .c -> .cc change and drop 931-libffi-fix-MIPS-softfloat-build-issue as it got merged in gcc 12. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>