[PATCH 2/3] wined3d: Use wined3d_array_reserve() to pre-allocate the buffer dirty ranges array.