gallium/swr: Fix compilation with LLVM 12