[SPARK-3317][MLlib] The loss of regularization in Updater should use the oldWeights

The current loss of the regularization is computed from the newWeights which is not correct. The loss, R(w) = 1/2 ||w||^2 should be computed with the oldWeights.