Fix compilation errors when including C headers in C language mode instead of C++.
- Cannot use sizeof() on another union member
- nullptr vs NULL
- () vs (void)
Incidentally, fix an incorrect comment about memory ownership on the argument to __orc_rt_CreateCWrapperFunctionResultFromOutOfBandError, which is copied, not moved.
clang-tidy: warning: invalid case style for function 'LLVMCreatePassBuilderOptions' [readability-identifier-naming]
not useful