llvmpipe: check shader outputs are non-null before using