avcodec/dnxhd_parser: fix parsing interlaced video, simplify code