lib/zoap: Fix warning about signedness conversion
lib/zoap: Fix warning about signedness conversion

'query->value' is a 'const uint8_t *' so it should be casted to a
char (signed) array before it is used in places where a 'char *'
is expected, strncmp() is an example.

Jira: ZEP-1810

Change-Id: I94cf780a40ad5fed29607d2302dc7a10387bb86f
Signed-off-by: Vinicius Costa Gomes <540a5b73c8ed8ee3381dfb54c1949e767fadd754@intel.com>

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