modbus: get rid of unneeded data copying in the MQTT message handler.