Magnetic moment of the relativistic composite system