Magnetic properties of GdMg2 as studied by means of NMR and Mössbauer effect spectroscopy