tests: kernel: profiling: Fix _sys_soc_suspend logic
tests: kernel: profiling: Fix _sys_soc_suspend logic

Call k_thread_foreach only once from _sys_soc_suspend()
otherwise it will flood the console with stack dumps. As per
the test implementation, the one time call happens through
test_call_stacks_analyze_idle test case.

Also removed the the stack size comparision logic from
thread_callback() as the actual size allocated could be
different from what is requested based on the Kconfig option
CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT

Fixes Issue #7858

Signed-off-by: Ramakrishna Pallala <8cb5df094165bcc31e7d772ccd8d87d8c4d8f761@intel.com>

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