usb: usb_device.c: rewrite if condition judgment
usb: usb_device.c: rewrite if condition judgment

The 'if condition' in usb_handle_control_transfer is diffcult
to understand. So I rewrite another version.

Fixes #7340

Signed-off-by: qianfan Zhao <0d01fab1932da5a147025f14dd5829cf5bf10d4d@163.com>

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