grep: add support for the PCRE v1 JIT API