net: Use alignment macros when copying IP address
net: Use alignment macros when copying IP address

The original version can fail in ARM like this

***** USAGE FAULT *****
  Executing thread ID (thread): 0x200027a8
  Faulting instruction address:  0x00008080
  Unaligned memory access
Fatal fault in thread 0x200027a8! Aborting.

so use UNALIGNED_PUT() and UNALIGNED_GET() instead.

This failure was seen when IPv6 address was
copied to neighbor cache in ipv6.c:nbr_new().

Change-Id: I638424b9a95c451e13314ca9182c39ab8aa71830
Signed-off-by: Jukka Rissanen <f9f077d1da4c7aa947f9864fa5a28c3588f6a45d@linux.intel.com>

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