console: Fix unreachable code condition
console: Fix unreachable code condition

This patch fixes an unreachable code condition in the uart_console
driver.

If UART_CONSOLE_DEBUG_SERVER_HOOKS was not defined
handled_by_debug_server in console_out was always 0.

This issue was reported by Coverity (CID 131627).

Change-Id: I4376c3e5b3e68220218df6aabd91b6a8900ca31f
Signed-off-by: Vincenzo Frascino <3ace7bb34570a19a202c4c73ce7a798ea734bba6@linaro.org>

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