gallivm/llvmpipe: add const qualifiers