Reorganize error functions and includes
These functions are complicated because they need to be marked "noreturn" for the compiler. There are several fundamentally incompatible ways of doing that. Since we have only a few "noreturn" functions, let's just list all of those in one header file of which there is a completely different version for each compiler.
This commit is contained in: