Influence of the Atlantic Multidecadal Variability on the climate response to external forcing