Fix Transform Tool crash on pass-through groups
Before when you tried to transform a group layer
with pass-through mode enabled, Krita crashed.
After this commit, Krita doesn't crash.
The preview for the transform tool in this case
is the same as it would be for a standard group.
BUG:405161