If you perceive something as a dog whistle, it doesn't mean others think so too or that author intended it that way. You have to be understanding. If something seems "off" to you, try to be more open-minded, we live in a multicultral society.
This runs both ways though. At the same time though we should be mindful of our actions and words, as much as possible. If there is a way of saying something that would not be perceived as a dog whistle, then choose those words. This is hard though because our own experiences mean we might not always see right away what is offensive to others, but we should try.