regex: avoid infinite configure test At least glibc 2.15 on Ubuntu ended up hanging. * m4/regex.m4 (gl_REGEX): Add an alarm escape hatch. Reported by Reuben Thomas. Signed-off-by: Eric Blake <eblake@redhat.com>