Adds commented lines which will add support for sample weight in hinge loss

This is dependent on #3607. I will uncomment the added lines after it's merge in main tree.