Effect of implantation-parameters on the structural properties of Mg-ion implanted GaN