Bug 897904 - Set nsInputStreamPump::mStatus only if EnsureWaiting fails