net: lwm2m: correct placement of put_begin/put_end in READ op
net: lwm2m: correct placement of put_begin/put_end in READ op

The put_begin / put_end calls are to be used at the very beginning
and end of processing a READ op.  Let's correct that logic.

Signed-off-by: Michael Scott <a17fed27eaa842282862ff7c1b9c8395a26ac320@foundries.io>

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