(re_match, re_match_2): Protect calls to alloca (0).