Fix -Wundef warnings in regex_internal.h