[PATCH v2 5/6] wined3d: Check cursor sizes are powers of two.