Remove gtsam from thirdparty modules.