pkg/autodiff: improve pkg-internal logical parameter switch (inAd/inFwd mode)
pkg/autodiff: improve pkg-internal logical parameter switch (inAd/inFwd mode)

altMITgcm/MITgcm66h,altMITgcm/MITgcm66h,altMITgcm/MITgcm66h,altMITgcm/MITgcm66h,altMITgcm/MITgcm66h,altMITgcm/MITgcm66h,altMITgcm/MITgcm66h,altMITgcm/MITgcm66h