Measurement of the 238U radiative capture cross section with C6D6 at the CERN n_TOF facility