Yes, but it would still depend on membership in a selected group (in the last case, straights) and is therefore offering a protection to some groups that it is not to others.
If, as you say, the prohibition already covers everybody (since everybody has a race and race is covered) then the law is unnecessary. Or else the law only applies insofar as a victim is a member of certain groups (and not others) and therefore is, in my view, discriminatory.
Thus “I think all those gays should be shot” is presumably illegal. “I think all those abortion providers/SUV owners/Republicans/ugly people should be shot” is presumably legal, and therefore the state is offering different levels of protection to members of different groups.
It seems to me that if threats of genocide provide a danger to society in general, then everyone in the society should be protected from those threats.
It is sort of like AIDS. When the disease first became widely known, it was perceived as afflicting almost entirely gay men and IV drug abusers. But government acted as if it were a threat to everyone. Imagine the criticisms of a government who said, “Straights don’t need to worry about AIDS, as it does not pose a threat to their group.”
Regards,
Shodan