AVReaderPlugin: add C++98 compatibility