Gain control unit for image intensifiers in automation systems