Laptop chargers, being switchmode power supplies, have a transformer or two with a waveform at a few kilohertz being run through them. In all likelyhood, the transformer in yours isn't potted quite as well as it used to be, and it is now physically oscillating in tune with its magnetic field. This is annoying, certainly, and might possibly be a sign of further degradations to come; but it should, in itself, be entirely harmless. I've had various transformer based widgets that hummed away happily enough for years.