don't call Variant#on_hand= in factory unless track_inventory_levels] is
true [Fixes #2960]