Adsorption of glycine on cometary dust grains: II—Effect of amorphous water ice