grep: make PCRE2 aware of custom allocator