The veto system of the DarkSide-50 experiment