Evidence for chemical processing of precometary icy grains in circumstellar environments of pre-main-sequence stars