Fix SGD L2 regularization order

This pull request addresses #1965. Because the change is in a `.pyx` file I already ran Cython.

When testing the change with `make_classification` and `make_regression` both the classifier performance metrics and regressor predictions remained identical. However I assume this is not always the case so someone with more knowledge of SGD implementations should review this.