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