Depending on the context, I might do the same thing. What I wouldn't do is act as though I was the defender of a righteous cause and that the guy making the dick joke was somehow oppressing my <minority group>. Dick jokes may be in bad taste, but they are not oppression.