Revert "remove calls to deprecated function gdk_display_get_n_screens"

This reverts commit bdae08d098d188fe383e10a4ca1a3f45473d59e4.