wsi/display: use atomic mode setting
First two commits are from https://gitlab.freedesktop.org/eric/mesa/-/commits/wsi-display-modifiers (@eric), with some modifications applied to the second one.
The objective is to enable modifiers, for which a plane needs to be chosen (available modifiers are per-plane). Using atomic modesetting allows setting the plane id (amongst other things).