st/xorg: unify vertex buffer handling