gregex: use correct size for pcre2_pattern_info
man pcre2_pattern_info says that the 3rd argument must point to uint32_t variable (except for some 2nd argument value), so correctly use it. Especially using wrong size can cause unexpected result on big endian.
closes: #2699 (closed)