Fix WC_Product::set_stock_status() to correctly set status

Currently any time `WC_Product::set_stock_status()` is called, the product will be changed to out of stock. This fixes the conditional that causes the bug.