avcodec/nvenc: correctly set inputPitch