AVIFormat: fix codec use

There were two mistakes in how Codecs were being used in the AVIFormat:
* positions were only seeking properly when called from openPlane
* No paranthesees when computing number of channels!

With these issues fixed, the AVIFormat should now decompress via codec
appropriately.

Closes #228