Foam control in coatings