Move color option parsing out of diff.c and into color.[ch]