llvmpipe: make shader-related functions static, clean-up initializations