By definition you can't have grounding on a power supply without a grounding pin, unfortunately.
Apple's power supplies for MacBooks do have a grounding pin, but the default duckhead adapter they ship with usually doesn't leverage it, so you end up with a class 2 power supply and the buzzing sensation.
> that you can hear the buzzing sound too if you put your ear very close.
I've found Apple power adapters to be pretty good in that regard, unlike some third-party power supplies that I can hear across the room. If I can only hear the noise when I put my ear next to the supply, I can just not do that :)