Site-dependent magnetism of Ni adatoms on MgO/Ag(001)