avformat/librtmp: Fix build with --disable-network --enable-librtmp