Disable acts_as_paranoid for StockItem if deleted_at column does not exist

This would not exist in the case of a migration from 1-3-stable to 2-0-stable.

Fixes #3805