Change of antiferromagnetic structure near a quantum critical point in CeRh 1-x Co x In 5