AVWriterPlugin: add C++98 compatibility