Henri Verbeet : wined3d: Introduce a helper function for checking surface block alignment.