cmake: Add CONFIG_APPLICATION_MEMORY constraint
cmake: Add CONFIG_APPLICATION_MEMORY constraint

This patch adds an additional constraint to make sure that we only
do the application memory sizing if it is really necessary.

Signed-off-by: Andy Gross <4ba87047449f5700e8758e3b1af36e94376c2fff@linaro.org>

kraj/zephyr,GiulianoFranchetto/zephyr,punitvara/zephyr,nashif/zephyr,punitvara/zephyr,finikorg/zephyr,galak/zephyr,mbolivar/zephyr,explora26/zephyr,mbolivar/zephyr,mbolivar/zephyr,Vudentz/zephyr,ldts/zephyr,galak/zephyr,zephyriot/zephyr,mbolivar/zephyr,Vudentz/zephyr,nashif/zephyr,GiulianoFranchetto/zephyr,finikorg/zephyr,ldts/zephyr,explora26/zephyr,finikorg/zephyr,galak/zephyr,Vudentz/zephyr,Vudentz/zephyr,finikorg/zephyr,galak/zephyr,Vudentz/zephyr,kraj/zephyr,galak/zephyr,explora26/zephyr,nashif/zephyr,nashif/zephyr,GiulianoFranchetto/zephyr,punitvara/zephyr,zephyrproject-rtos/zephyr,punitvara/zephyr,kraj/zephyr,zephyriot/zephyr,Vudentz/zephyr,ldts/zephyr,kraj/zephyr,zephyriot/zephyr,zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,ldts/zephyr,GiulianoFranchetto/zephyr,punitvara/zephyr,mbolivar/zephyr,zephyriot/zephyr,zephyriot/zephyr,nashif/zephyr,finikorg/zephyr,zephyrproject-rtos/zephyr,kraj/zephyr,explora26/zephyr,explora26/zephyr,GiulianoFranchetto/zephyr,zephyrproject-rtos/zephyr,ldts/zephyr