F40 build, add patch for GCC 14 [-Wimplicit-function-declaration]