LSD is also rumored to help.
Why do people see faces in stone formations, trees, tacos, the moon, knotty pine, and so forth? It's brain activity in the fusiform gyrus.
I'm going to go out on a limb and guess that the fusiform gyrus may also play a role in the hearing of imaginary raaaaacist dog whistles.
Stop looking at me that way.