Being of a race doesn't prevent you being racist towards it. A black cop can be just as racist to a black person walking down the street as a white cop can. Indeed, I seem to recall hearing on a few occasions that they often are.
The assumption that all a black person can do to be racist is call you (a white male) "cracker" is rather disingenuous.