core: moved `#include`s outside the `extern "C"` guards
Merge pull request #1805 from BytesGalore/extern_C_in_headers_core_unguard_includes

core: moved `#include`s outside the `extern "C"` guards