avio: don't replicate avio_alloc_context functionality.