avcodec/nvenc: use av_image_copy for copying frame data