Fix IrcBufferModelPrivate::insertBuffer()

Initialize the buffer's model (and connection/network) before sorting
the buffers to avoid a crash in IrcBufferModel::lessThan().