ir_dereference_array::array is always an r-value. If the dereference is of a varaible, that r-value will be an ir_dereference_variable. This simplifies the code a bit.
This should remove the burden of handling constant vector indexing well from backend codegen, and could help with swizzle optimizations.