nir: add type information to nir_op_info

Also, fix up some copypasta errors.