A final /d/ devoicing to became a final /t/ is not all that strange. They're both alveolar stops. Now, a /g/ going to a /dZ/ is a little more strange, but still within the bounds of what could be expected in phonological change.