Reduce nvenc nal processing time by copying the entire output buffer to system memory first