i965: Change type of brw_context.primitive from GLenum to hardware primitive