[upstream] Add a patch for Mesa, to solve some problem with the new LLVM API