avcodec/kgv1dec: add casts to silence "assignment from incompatible pointer type"