Deuterium thermal desorption from Ni-rich deuterated Mg thin films