mshtml: Moved IStream::Read calls to separated function.