mesa: add blend_equationi() helper