fix crash in regexec for nonzero nmatch argument with REG_NOSUB
fix crash in regexec for nonzero nmatch argument with REG_NOSUB

per POSIX, the nmatch and pmatch arguments are ignored when the regex
was compiled with REG_NOSUB.

chardi/musl,chardi/musl,chardi/musl