enable extrapolation in spreaded curve if enabled in discount curve

when computing CashFlows::npv with a zSpread the spreaded curve does not allow for extrapolation even if the discount curve does. I guess this is not the expected behaviour.