GOODS-Herschel: the far-infrared view of star formation in active galactic nucleus host galaxies since z similar to 3