examples: add extern "C" to header `rpl_udp.h`
Merge pull request #1790 from BytesGalore/extern_C_in_headers_examples

examples: add extern "C" to headers