avcodec/ffv1enc: update buffer check for 16bps