sys: add extern "C" to headers

This PR adds extern "C" for the header files in `./RIOT/sys/*` folders.
it's better to move 
``` C
#ifdef __cplusplus
extern "C" {
#endif
```
to line 116 (before ``` socket_internal_t *socket_base_get_socket(int s); ```)