gallium/gallivm: fix compilation issues with llvm 11