avcodec/dnxhd_parser: Optimize insufficient buf size case