Update MqttPublishMessage.cs

fixed error with some publish messages.
GetUTF8StringLength sometimes returns too high values which results in cutting off the end of the payload.