Not sure about the rest of the world but you'd be surprised. Here in spain we use it all the time (always among friends of course) and nobody, black people included, give it a second thought. Then again, our society isn't meaningfully racist against black people, which probably plays a big role in the matter.
Funnily enough, among the people that I know at least, we use the word because we've seen it in american blaxploitation movies from the 80s and 90s, rap music and games like GTA San Andreas and we always thought it was funny in a "this way to talk is so foreign to us" kinda way.
But even here most people wouldn't say such a thing in public. When it's among friends, we know we have consent and there is no ill will.
EDIT: Just wanna make sure real quick that it's clear I'm not defending PDP.