boards: add `extern "C"` to header files

[SQUASH ME] removed slipped back legacy define