h264: copy nal_length_size in update_thread_context