Fix roundtrip handling. This implements correct forwarding of display sync requests. It is needed for wl_display_roundrip() to work correctly. We have to replace the core wl_display implementation in order to do this. This also adds correct version checking for a few *release() calls.