Use explicit attribute location.

Should help implementing basevertex later, and simplify vao creation a
lot.