Electroweak-correction effects in gauge-boson pair production at the LHC