Beam loss detection based on generation of Cherenkov light in optical fibers in the CERN Linear Electron Accelerator for Research | Synapse