Honour ext_image_copy_capture_frame_v1.transform in foreign buffer tests

Read the frame's reported transform before destroying it and normalise the
captured pixels (and dimensions) to logical orientation, so compositors that
legitimately apply a transform to captures don't fail content checks.
2 files changed