Check for C11 and document requirement for C11 for used C compiler
## Summary
It's not completely obvious from the code what our requirements are in this regard.
I believe the simplest thing to achieve this might be to add a check to configure.
There is also this check in the current headers:
```
#if !(__STDC_VERSION__ >= 199901L) && !(__cplusplus >= 201103L)
# error __STDC_VERSION__ does not advertise C99, C++11 or later
#endif
```
Which we should update, in addition to potentially adding some more documentation. But it's not clear to me where to best put it.
## Environment
* GHC version used:
Optional:
* Operating System:
* System Architecture:
issue