Magnetic moment of proton drip-line nucleus 9C