regex: Avoid wrong configure results with "clang -fsanitize=leak". Reported by Tim Rühsen in <https://lists.gnu.org/archive/html/bug-gnulib/2020-05/msg00207.html>. * m4/regex.m4 (gl_REGEX): Free compiled regexes and allocated registers before returning with status 0.