When the pitch and width are the same, the original 2D buffer can be
used. This saves a potentially expensive allocation and memory copy.
--
v2: mfplat: Optimise 1d Lock of 2d buffer when pitch equals width.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8436