avcodec/ffv1enc: Fix assertion failure with non zero bits per sample