[PATCH vkd3d 4/5] vkd3d-common: Move vkd3d_write_mask_is_contiguous() from vkd3d-shader.