MCA/base/var: Fix integer overflow check and add support for printing new
variable names for deprecated variables.

Closes #3270

cmr=v1.7.4:reviewer=jsquyres