X-ray magnetic circular dichroism study of metamagnetic behaviour in the heavy-fermion system CeRu2Si2