No it is NOT definitional. You're taking someone's opinion and apply a racism motive behind it. Even if it happens to be true in that certain case, it doesn't define racism, because you're the one assigning the motive to someone else's opinion.
Also, those posters (even if we accept their racist motives) are against casting choices. They aren't attacking the actors personally.