WritableStream's [[error]] must replace writablePromise when in readable state

When a WritableStream is in readable state, writablePromise is set to a
fulfilled promise. We need to replace it with a new rejected promise.