gen_kobject_list: fix on ARM targets
gen_kobject_list: fix on ARM targets

On ARM, a zero memory address actually falls within the expected bounds
of kernel memory.

Move the NULL check outside the bounds check, so that kernel objects
with NULL memory addresses in the DWARF info (because gc-sections
discarded them) won't confound the script's logic.

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

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