fixed WC_Product_Variable::set_stock() compatibility with WC_Product::set_stock()
Merge pull request #5460 from claudiosmweb/fix-strict-standards-set-stock

Fix WC_Product_Variable::set_stock() compatibility with WC_Product::set_stock()