examples: add extern "C" to header `rpl_udp.h`