Enforce C11 and start using C11 features
We already used some implicitly (e.g. anonymous structs in PL_ARRAY), so we already required C11, not C99.
Expand this by also capitalizing off the remaining C11 features, such as alignof, static_assert and C11 threads (as a fallback for pthread).
Edited by Niklas Haas