strings.c: Fix __ast_str_helper() to always return a terminated string.