Ah yeah, I heard about that, I think we have the older edition. I think it's fine to just stop and provide some parental commentary about it - it can be a good forcing function for talking about that stuff.

Hopefully they didn't take out the Oompa Loompa's judgemental songs, the kids find those hilarious. The humor's the sugar that makes the moral tale about how to be and not to be in the world go down - don't be a glutton, don't be greedy, try to be humble, kind, and empathetic like Charlie. It's not actually about superficial traits.