Agreed -- IMG/AMG is an issue of training -- residencies like the value of someone having the AAMC/LCME seal of approval. You could take two people with the same last name, same pigmentation and same country of origin and residencies would take the one from the US school every time. That's not discrimination. They are happy having someone of diverse origin coming from a US SCHOOL. So in short, it's the IMG thing that's the issue, not your name, color, religion or national origin at most US residencies (I'm sure there are exceptions, but those PDs usually get rooted out and fired).
Now if you are asking whether you'd be discriminated against vs a European origin person from your same program, the answer is, who knows -- both of you are a Longshot compared to the US grad so you are kind of splitting hairs.