i965: write layer if gl_Layer is used in VS