libview: Add check for pageless documents to ev_view_accessible_focus_changed

Without this check, Evince will crash when opening a document that, for
whatever reason, has no pages.

https://bugzilla.gnome.org/show_bug.cgi?id=731046