US food giant General Mills is to change the labels on its Nature Valley granola bars following a lawsuit from consumer groups.