On the Gerasimov-Drell-Hearn sum rule for the deuteron