grok: add missing pcre dep

Closes #21781.