lavf: make avio_read_partial() public