avformat/os_support: try to fix build when included from a c++ file like libavdevice...