document.c: Restore lost document_set_text_changed(doc, TRUE) call.

It got lost by accident in 5117940.