Magnetic ordering of GdxEr1−xRh4B4 near the superconducting region