Chiral phonons in the honeycomb sublattice of layered CoSn-like compounds