Finite groups with small centralizers of word-values