libc-hooks: Provide the 'open()' syscall
libc-hooks: Provide the 'open()' syscall

Some parts of Newlib, notably the locale handling stuff, will try to
call open(), and if it's not provided, any application that for some
reason is bringing in that code will fail to link.
Having a non-working implementation keeps that code working.

Change-Id: I28345dabb93431d6b80c839b23a46b7f99dc8734
Signed-off-by: Iván Briano <e5bb0ea9e2726000eec3a04030e22edb132ff9c8@intel.com>

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