libopenjpegdec: support interlaced layout

Fixes tickets #1102.