Teach write.cmtkreg() to give a warning if versions of CMTK reg differ

This should help us avoid errors when dealing with registrations created when CMTK's handling of affine matrices was broken.