X-ray magnetic circular dichroism study of gold nanoparticles protected by polymer