Investigation of spin-phonon coupling in triangular-lattice antiferromagnet AgCrS2 by infrared transmission spectroscopy