tests: benchmark: Fixed build error from icx toolchain.
tests: benchmark: Fixed build error from icx toolchain.

The error was generated by a piece of code that is
not currently being used. This piece of code was kept to measure
the overhead caused by the benchmarking code on x86.

JIRA:ZEP-2160

Signed-off-by: Adithya Baglody <06b44f6fa9a97a2b955c2d2cd070279967447860@intel.com>

GiulianoFranchetto/zephyr,GiulianoFranchetto/zephyr,nashif/zephyr,sharronliu/zephyr,explora26/zephyr,punitvara/zephyr,galak/zephyr,zephyriot/zephyr,fbsder/zephyr,GiulianoFranchetto/zephyr,punitvara/zephyr,galak/zephyr,fractalclone/zephyr-riscv,finikorg/zephyr,ldts/zephyr,zephyrproject-rtos/zephyr,rsalveti/zephyr,holtmann/zephyr,aceofall/zephyr-iotos,zephyriot/zephyr,finikorg/zephyr,Vudentz/zephyr,pklazy/zephyr,finikorg/zephyr,fractalclone/zephyr-riscv,fractalclone/zephyr-riscv,galak/zephyr,fbsder/zephyr,nashif/zephyr,Vudentz/zephyr,punitvara/zephyr,ldts/zephyr,mbolivar/zephyr,zephyrproject-rtos/zephyr,nashif/zephyr,aceofall/zephyr-iotos,mbolivar/zephyr,runchip/zephyr-cc3220,rsalveti/zephyr,rsalveti/zephyr,galak/zephyr,mbolivar/zephyr,zephyrproject-rtos/zephyr,punitvara/zephyr,pklazy/zephyr,runchip/zephyr-cc3220,ldts/zephyr,aceofall/zephyr-iotos,fbsder/zephyr,fbsder/zephyr,pklazy/zephyr,nashif/zephyr,nashif/zephyr,Vudentz/zephyr,zephyriot/zephyr,mbolivar/zephyr,kraj/zephyr,mbolivar/zephyr,finikorg/zephyr,kraj/zephyr,kraj/zephyr,punitvara/zephyr,runchip/zephyr-cc3220,GiulianoFranchetto/zephyr,zephyrproject-rtos/zephyr,fractalclone/zephyr-riscv,holtmann/zephyr,runchip/zephyr-cc3220,explora26/zephyr,sharronliu/zephyr,zephyriot/zephyr,fractalclone/zephyr-riscv,runchip/zephyr-cc3220,rsalveti/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,aceofall/zephyr-iotos,ldts/zephyr,zephyriot/zephyr,GiulianoFranchetto/zephyr,ldts/zephyr,sharronliu/zephyr,Vudentz/zephyr,galak/zephyr,holtmann/zephyr,fbsder/zephyr,sharronliu/zephyr,kraj/zephyr,holtmann/zephyr,pklazy/zephyr,rsalveti/zephyr,aceofall/zephyr-iotos,explora26/zephyr,pklazy/zephyr,explora26/zephyr,kraj/zephyr,sharronliu/zephyr,finikorg/zephyr,holtmann/zephyr,Vudentz/zephyr,explora26/zephyr