net/mqtt: cleanup TX function unref handling
net/mqtt: cleanup TX function unref handling

With CONFIG_NET_DEBUG_NET_PKT enabled, the log messages are full of
errors regarding NULL parameters passed into net_pkt_unref in almost
every TX function for handling MQTT messages:
mqtt_tx_connect()
mqtt_tx_disconnect()
mqtt_tx_pub_msgs()
mqtt_tx_publish()
mqtt_tx_pingreq()
mqtt_tx_subscribe()
mqtt_tx_unsubscribe()
mqtt_parser()

Let's clean up the unref handling so that our debug log isn't quite
so full of error spam (as opposed to the normal amount of spam from
the net buf log).

Change-Id: Ib49d1192f51abe4329e6dc9da3c51a4a36290082
Signed-off-by: Michael Scott <087571639a1dbb4ff1803c64e3643475ba482686@linaro.org>

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