Fix compilation with --disable-everything --enable-muxer=avi --disable-network.

Fixes ticket #3568.