Fix GH-12628: The gh11374 test fails on Alpinelinux Closes GH-12636.
Fix GH-11374: Different preg_match result with -d pcre.jit=0 This is a backport of https://github.com/PCRE2Project/pcre2/pull/300. Closes GH-12439.