I don’t think Trump is racist. He certainly comes from a time when a joke like this would not be considered racist. I mean, they used to put out entire books of ethnic humor, for every ethnicity.
But he certainly doesn’t need to give his opponents ammunition to say that he is racist. And he might consider catching up with the times a bit more.