Study of lattice dynamics in the CuIr2S4 system