video: add XYZ support

Needed for the ffmpeg j2k decoder.
Fix compilation with Libav