tool/transform: undo/redo works for granularity values in cage transform
CCBUG:344210 Differential Revision: https://phabricator.kde.org/D18427