Every single one of the Goldwater states was under title 5 for either Jim Crow or anti-Spanish laws. You generally don't snub your supporters if you want to win.
That's kind of an insult to Goldwater. He was no racist. He voted for previous civil rights bills but he voted against the one in 1964 based on small government principles. You can say what you want about him but he was a man of his principles, and I don't think racism was one of them.
His only sin was letting the deep south believe he was as racist as they were.