replace the mips64 fixes patch with an upstream commit