Study of magnetic ordering of the high Tc superconductor GdBa2Cu3O7−y by muon spin rotation