Displays a warning when forcing CDAT_BUILD_MODE

Found this commit from some time ago.

If `CDAT_BUILD_ESGF` is enabled, then `CDAT_BUILD_MODE` gets forced to `LEAN`. This commit displays a warning to the user when that happens.