wined3d: Use wined3d_bit_scan() in context_preload_textures().