x11: fix alignment in non-XSHM case