Add stdatomic.h (modified, form FreeBSD) and switch to GNU11 standard.