"In the French version of the show Homer actually says 'T'oh!', instead of "D"oh!". This is because the French actor who dubs Homer"s voice misread the word the first time he played the role and has never got round to correcting himself."
I guess the actor must have been losing his voice that day.
In phonetics /t/ is the voiceless counterpart of /d/.
Click here for more about voicing.