Avoid GlobalTitleFail in ApiVisualEditor::diffWikitext()

Change-Id: I93e352d4e1cfef38f9f75f973933c8247d304e2a