modesetting: Remove few common functions from ms namespace

A lot of that code is the same as in xf86-amdgpu and xf86-nouveau drivers. By removing that functions from
ms namespace we can move that code to common implementation.

Signed-off-by: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com>
4 jobs for sync_present_to_slave_outputs in 12 minutes and 7 seconds (queued for 1 second)