Fix FTBFS of atril when build with the clang compiler

Closes https://github.com/mate-desktop/atril/issues/82
Fix crash when clicking empty canvas while loading.
Make ev_view_set_scroll_adjustments static void