For those of you who missed John's terrific explanation of this behavior, here's a sample. I hope I can repeat his words accurately.
Birds with dark plumage do this to raise the body temperature to a point where it would kill certain insects. White birds will never raise the temperature enough, that's why they don't bother with this.