Add tests to verify functionality of the C11 `<threads.h>` API. Signed-off-by: Christopher Friedt <cfriedt@meta.com>