radv/llvm: fix exporting the viewport index if the fragment shader needs it