cpu: added `extern "C"` to headers
Merge pull request #1803 from BytesGalore/extern_C_in_headers_cpus

cpu: added `extern "C"` to headers