screencast, remote-desktop: Unify codestyle in API
This is the mutter part of gnome-remote-desktop!73 (merged).
See the commit messages for details.
See also the thread in gnome-remote-desktop!73 (comment 1364048) for the reasoning here.
CC: @jadahl