i965/nir/vec4: Implement the dot product operation