compiler: Add a system value and varying for ViewIndex