crt: tests: split t_tls1 into t_tls_ansi and t_tls_c11

Rename `t_tls1.c` to `t_tls_c.c`.

Both `t_tls_ansi.c` and `t_tls_c11.c` simply include `t_tls_c.c`,
but compiled in a different way:

- t_tls_ansi: compiled with `-std=c89`, which makes `t_tls_c.c` use
  gcc-specific `__thread` keyword to declare thread-local variable

- t_tls_c11: compiled with `-std=c11`, which makes `t_tls_c.c` use
  standard `_Thread_local` keyword to declare thread-local variable

This allows to test that both `__thread` and `_Thread_local` work as expected.

Signed-off-by: Kirill Makurin <maiddaisuki@outlook.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
4 files changed