kconfig: fix menuconfig
kconfig: fix menuconfig

"depends on" cannot use expressions as arguments, this statement
didn't actually do anything for kconfiglib.py and caused an
error with menuconfig.

There's currently no way to depend on a system heap being
present, however forthcoming patches move this feature away
from using the system heap anyway.

For now, if the user enables dynamic objects without defining
a system heap, they will get a build error.

Fixes #7266.

Signed-off-by: Andrew Boie <aab045b28152628be6af0e556050d0381fd0a34d@intel.com>

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