Introduce AVIStream struct and move stream based variables to it.