Parton density uncertainties and the determination of electroweak parameters at hadron colliders