fix signed to unsigned convertion warning

--HG--
branch : 3.2
Use true compile time "if" for Transform::makeAffine

--HG--
branch : 3.2