drm: Properly check for the need for transformation
At the moment we were checking for size difference between the buffers which works for rotation but not for flipped or up-side down screens.
This changes how we check it by comparing the effective transform vs the supported one in drm to see if they differ.
Fixes https://invent.kde.org/plasma/plasma-phone-components/-/issues/112