osdep: protect qemu/osdep.h with extern "C"