lavf/mxfdec: set field dominance for j2k codec with separate fields layout
lavc/libopenjpegdec: support interlaced layout

Fixes tickets #1102.
lavf/mxfdec: add j2k to intra only codecs
lavf/mxfdec: fix codec and stream time base for separate fields layout

Since two packets are required to decoded a frame, we need to divide by
a factor of 2 the stream time base so output ptses are correct.
lavf/mxfdec: generate ptses for interlaced j2k streams

Packet ptses correspond to frame numbers. This plus dividing by a factor
of 2 the stream time base will output correct ptses for decoded frames
since we need 2 packets for one decoded frame.
lavf/mxfdec: add -use_field_rate option

Interpret sample rate as field rate for separate fields layout.
lavf/mxfdec: handle segmented frame layout as separate field layout
lavc/libopenjpeg: use extradata
lavf/mxfdec: use extradata