avcodec/dnxhd_parser: Fix parser when input does not have nicely sized packets