net: ipv6: Set hop limit in net_pkt according to IPv6 header
net: ipv6: Set hop limit in net_pkt according to IPv6 header

The hop limit value in net_pkt was not updated according to
received IPv6 header.

Fixes #8182

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

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