(__compat_regexec): Use attribute_compat_text_section.