MesaLib: patch from upstream to fix build with llvm-3.5.