Remove unneeded attribute components from glsl shaders

This allows the glsl compiler to optimize away some instructions and reduces memory use for static vbos