The current issue of the magazine Lonely Planet India(Oct 2013) presents a photo of Camargue Horses which are white coated and mentions that they are born with dark hair. A search shows that the foal are either black, grey or brown coated and gradually turn white around the Third/fourth year. What could be the possible advantage of that kind of difference between the young and the adult?
Our own hair will also turn gray (indeed, yours seems to be on its way, if you don't mind me saying so) but there need not be an advantage to that; if it doesn't affect our ability to have successful children it probably doesn't matter much to evolution or selection. When it comes to animals that interact with humans, though, many traits are selected for, even those without an advantage, in fact often we select for disadvantageous traits (if they were advantageous, we might not need to select for them in the first place).
As this 2008 paper from Nature Genetics goes into, the "graying with age [phenotype] is an autosomal dominant trait" overwhelmingly caused by "a 4.6-kb duplication in intron 6 of STX17 (syntaxin-17) that constitutes a cis-acting regulatory mutation". To answer your question, though:
This phenotype is actually often detrimental, as white/gray horses can have eye problems and higher rates of skin cancer; Camargue's are particularly susceptible to melanomas, present in around 70% of horses by age 15. There does seem to be some benefit, though, as the second paper I linked suggests these horses are subject to fewer fly attacks.
EDIT: I seem to have been unclear and you seem to have misunderstood my answer. Let me break it down:
That is an example of why something negative or pointless might persist, as would a dominant inheritance pattern that is fixed in a population: negative traits that are only weakly deleterious have a non-negligible chance of fixation. Asking what the advantage is is somewhat of a moot question because every single Camargue horse has the trait; asking what caused a seemingly-negative phenotype to become fixed is a good question, but likely an unanswerable one as it occurred long ago.
As a side note, how long a breed has been in an area does not simply imply breed purity. Here's a quote from the International Museum of the Horse: