Laser-controlled dissolution of gold nanoparticles in glass