ddraw: Use wined3d_log2i() to calculate the level count in ddraw_surface_create().